explain System.out.println
Answer Posted / vishwajeet
SYSTEM is an class.
OUT is an object PrintStream class defined in System class.
OUT is declared as public, static and final.
Println() is a method of PrintStream class.
The println() method is called with out object.
The out object is called with System class.
To say simple, println() is a method of PrintStream class.
out is an object of PrintStream class defined in System class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is an immutable class? How to create an immutable class?
Does string isempty check for null?
What are examples of modifiers?
What is the purpose of the enableevents() method in java programming?
how we can make a read-only class in java?
What is the difference between class & object?
What is the disadvantage of synchronization?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
Can java hashmap have duplicate keys?
What state does a thread enter when it terminates its processing in java programming?
What is the difference between menuitem and checkboxmenu item?
Java is Pass by Value or Pass by Reference?
What is return keyword in java?
Is there a sort function in java?
'A class is a template for an object' explain this statement.