Why we use System.out.println in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why we use System.out.println in java?

why it is needed?

29th Nov 2016, 2:34 PM
sadiya zainab
sadiya zainab - avatar
4 Answers
+ 12
System.out.println() method for output on display. Class "System" has Fields "out" which has method println() My English bad, see here https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#out
18th Mar 2017, 5:21 AM
mr.Frechman
mr.Frechman - avatar
+ 2
why system.out?
29th Nov 2016, 2:53 PM
sadiya zainab
sadiya zainab - avatar
+ 2
System.out.println is a standard output function used in java. where System specifies the package name, out specifies the class name and println is a function in that class
29th Nov 2016, 4:10 PM
Nima Moradi
Nima Moradi - avatar
+ 1
We use tit to print data in the new line.
29th Nov 2016, 2:49 PM
TARIK AIT LAABIDI
TARIK AIT LAABIDI - avatar