Programming - First Step towards Java Programming - Discussion

You Are Here :: Home > JAVA > First Step towards Java Programming - Discussion

 



Q.

Is println() and print() methods both are same or not>                         


A. Yes B. No
C. Cant say D. none

Answer: Option B
Explaination:

 


print() displays the result and then retain the cursor in the same line. Println() displays the result and then throws the cursor to the next line.




Discussion

Your Comments Goes here...
NameDiscussion