+ 2

Describe System.out.println();

Please explain with example this basic statement of java

2nd Apr 2017, 7:13 PM
Sbk0103
Sbk0103 - avatar
5 Respuestas
+ 16
I'm sure you know the answer ^^ System is a class in java.lang. out is a field of the System class, the output stream (the type of out is PrintStream). println is a overloaded method of the PrintStream class, which outputs the argument (if any) and a line break.
2nd Apr 2017, 7:24 PM
Tashi N
Tashi N - avatar
+ 11
@sbk Just guessing ^^
2nd Apr 2017, 8:03 PM
Tashi N
Tashi N - avatar
+ 2
this statement is used to print things to the console. good?
2nd Apr 2017, 7:19 PM
Edward
+ 2
@Tashi nyc detail and how can you say I know the answer 😃
2nd Apr 2017, 8:02 PM
Sbk0103
Sbk0103 - avatar
+ 2
@Tashi actually u r ryt. but I wanted to know something beyond my knowledge regarding this basic statement of java.. anyways very well explained by u and it matches with which i have read.. 😄
2nd Apr 2017, 8:07 PM
Sbk0103
Sbk0103 - avatar