Search:

Type: Posts; User: helloworld922

Search: Search took 0.14 seconds.

  1. [SOLVED] Re: Trying to rewrite the main method to use as few lines of code as possible

    Yes, don't store the result into s and just use it directly. I wouldn't suggest doing this in practice, though as your line will become way too long and unreadable.
  2. [SOLVED] Re: Trying to rewrite the main method to use as few lines of code as possible

    It's silly to try and write as few lines as possible because Java code doesn't really care about the concept of "lines": you can put everything into one line and barring line comments, have it work...
Results 1 to 2 of 2