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
Explain where variables are created in memory?
Does java linked list allow duplicates?
What is javac used for?
What are memory tables?
What is Session reduplication and how its done?
How do you read and print a string in java?
Does windows 10 need java?
What are instance variables?
What is the final keyword?
What is the access scope of protected access specifier?
What does substring mean?
What are streams in java 8?
Can we have a try block without catch block?
Can long be null in java?
Why singleton class is used in java?