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
What is thread safe java?
What do you mean by ordered and sorted in collections in java?
What are data structures in java?
Can a final variable be manipulated in java?
Difference between current previous versions of Java?
In how many ways we can create threads in java?
Can variables be used in java without initialization?
Can you tell me range of byte?
For class CFoo { }; what default methods will the compiler generate for you>?
How many types of constructors are used in java?
What are the data types supported by java?
Can you give names of Container classes?
Can a constructor be made final?
What do you mean by multithreaded program?
What is the primitive type byte?