cast the int to a character in your main when you want to see the
value of the int as a char on system out.
int c;
String myString = "";
while((c = in.read()) != -1){
myString += (char)c;
out.write(c);
}
System.out.println(myString);
On Oct 29, 7:24 pm, cis_body <[EMAIL PROTECTED]> wrote:
> I started doing java stream i/o homework but i am stuck with changing
> the character to uppercase. Is there anyone figured out how to do it?
> Any tip would be very valuable. Thank you.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---