Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    14
    Views
    1,307

    Re: Please solve my problem

    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.
  2. Replies
    14
    Views
    1,307

    Re: Please solve my problem

    If you want to see what was output by the println() method try this:

    ByteArrayOutputStream baos = new ByteArrayOutputStream(); // Capture println() here
    PrintStream ps = new...
Results 1 to 2 of 2