Post: A little question with Java
10-19-2009, 11:45 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Ok I don't know if anyone here is good with java programming but can anyone explain to me the difference between

    System.out.println


And

    System.out.print
(adsbygoogle = window.adsbygoogle || []).push({});
10-20-2009, 02:15 AM #2
Zero Thunder
Climbing up the ladder
Output of both statements is different as when System.out.println is used, the out put is shown in next line while in case of System.out.print the output is visible on the same line. 'ln' is basically used to start a new line.

Rep if helped Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo