explain System.out.println
Answer Posted / lalit bhangale
System.out.println();
System is the Class in which out is static object of
class PrintStream which refers t othe standard output ie
console output,
and PrintStream class contains the method println()
which will be accessed using PrintStream object out.
Since out is static so it can be only accessed using
class name in which it contains.
so System.out.println(); simply invokes println()
method to output specified data to standard output console.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we call virtual funciton in a constructor ?
What is serial version uid and its importance in java?
what is meant by Byte code concept in Java?
What is difference between iterator and enumeration in java?
Why does java not allow multiple public classes in a java file ?
What is the difference between checked exception and unchecked exception?
What class of exceptions are generated by the java run-time system?
What are the parts of a method?
What is the difference between jfc & wfc?
What is passing parameters in java?
How many digits can a float hold?
What is a boolean field?
What is integer size in java?
Where are the card layouts used?
What are peerless components?