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 are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is a line separator in java?
What is main function purpose?
What is the loop in java?
What is downcasting?
How do you implement singleton class?
How do you detect memory leaks?
explain about casting of objects?
Can we have multiple public classes in a java source file?
What is floor in java?
What is the default size of arraylist in java?
What do you understand by overloading and overriding in java?