Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.41 seconds.

  1. Replies
    4
    Views
    1,123

    Re: Weird String .length() method

    I would highly, highly suspect that the problem has nothing to do with the JVM (other than you need the JVM to run it) or any viruses you might have. A problem like this is almost always (99.9% of...
  2. Replies
    4
    Views
    1,123

    Re: Weird String .length() method

    Well, like you said, this code does not produce that result, so it's going to be pretty hard to diagnose. I would have tried printing out the String immediately before printing out its length.
Results 1 to 2 of 2