See what I did in post#11 to display what is printed. Change the code, execute it and copy the print out and paste it here with your questions.
A char uses 2 bytes, an int uses 4 bytes.
Type: Posts; User: Norm
See what I did in post#11 to display what is printed. Change the code, execute it and copy the print out and paste it here with your questions.
A char uses 2 bytes, an int uses 4 bytes.
If you want to see what was output by the println() method try this:
ByteArrayOutputStream baos = new ByteArrayOutputStream(); // Capture println() here
PrintStream ps = new...