explain System.out.println
Answers were Sorted based on User's Feedback
Answer / santhosh
System : It is a BuiltIn class
Out : it refers to the output device
println : It is a method of System class , a method which
helps in printing the contents in the paranthesis to the
output(console) device generally monitor.
Is This Answer Correct ? | 13 Yes | 45 No |
Answer / shakti prasad rath
System ->it is a final class present in java.lang package
that can be inherited.
out -> it is a inner class object.
println() -> it is a method in printstream class
Is This Answer Correct ? | 9 Yes | 44 No |
Answer / arun rajesh
System.out.println
The println() is a method that is used to print data on the
system console (command window). Java's method names are
always followed by parentheses.
System and out are not methods, but names that represent
other Java classes.
System.out means that the variable out is defined inside
the class System.
The out.println() tells us that there is an object
represented by a variable called out and it has a method
called println().
Is This Answer Correct ? | 36 Yes | 136 No |
Answer / nisha sharma
System-it is class
out-object/datamember or u can say referencevariable of
class
println-method of class
Is This Answer Correct ? | 24 Yes | 125 No |
Answer / vinay tiwari
System: System is a Package
out: out is a class belonging to System Package
println(): println() is a method of out class
Is This Answer Correct ? | 54 Yes | 453 No |
System: System refers to current java program.
out: out refers to output device. by default it is monitor.
println: to print the specific string onto output device in
next line
Is This Answer Correct ? | 118 Yes | 544 No |
Answer / vinay tiwari
System: System is a Package
out: out is a class belonging to System Package
println(): println() is a method of out class
Is This Answer Correct ? | 80 Yes | 531 No |
Explain public static void main(string args[]).
What are the fileinputstream and fileoutputstream?
how we can make a write-only class in java?
can we have virtual functions in java?
What is lambda in java?
What are wrapped classes?
What modifiers are used with a top level class?
What does you mean in math?
What is the difference between form & report?
What is the base class of all classes?
Is c better than java?
How do you decide when to use arraylist and linkedlist?