explain System.out.println
Answer Posted / mallikarjuna g
System : It is a standard java class. It comes from the
java.lang package. it is bydefault package.
Out : The class system contains static field named "out".
so System.out referes to the value stored in that static
filed. the value System.out is an object of the class
printStream from the standard java package java.io.
Println() : it is the instance method come from the
PrintStream class.
so System.out.println() calls the "Println()" method
associated with the "printStream" object referred to by
static field "out"
| Is This Answer Correct ? | 55 Yes | 12 No |
Post New Answer View All Answers
What is the Concept of Encapsulation in OOPS
Explain the difference between runnable and callable interface in java?
What’s the difference between callable and runnable?
Is set sorted in java?
Are there structures in java?
What type of language is java?
When should the method invokelater() be used?
What are sets in java?
Is linkedlist thread safe in java?
How do you start a thread?
Where is const variable stored?
What initialize variables?
Can a variable be local and static at the same time?
What happens to the Exception object after handling an exception?
Is final static java?