Let\'s say I wanted to print 5 lines. Which is the best method (for performance and readability).
System.out.println();
System.out.println();
System.out.prin
what will be the output of System.out.println("\ /");
If the output is /, then what is reason behind that it is not giving the out \ /?
The second option is almost certainly faster because each call to println() causes a system function to be called. This jump to kernel code takes some amount of time. This is the reasoning behind buffering in in C.