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 |
What invokes a thread's run() method in java programming?
What is “try and catch” in java
When object is created and destroyed?
What is Applet Stub Interface ?
What is an example of a constant variable?
what is singleton class in java?
Explain spliterator in java8?
What causes memory leak in java?
What is the importance of hashcode() and equals() methods?
How do you sing an Applet ?
Why can't we make jsp as a controller and action servlet in struts?
Explain about the security aspect of java?