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
define polymorphism in java
What is protected access modifier?
Does google use java?
What is the java reflection api? Why it’s so important to have?
What if static is removed from main method?
what is anonymous class in java?
how we can make a read-only class in java?
What is a buffer in java?
Where are local variables stored?
Can you achieve runtime polymorphism by data members?
Give me an example of array and linked list? Where they can be used?
Why is inheritance used in java?
How do you reverse a string in java without using string buffer?
Why we use protected in java?
What is the difference between object oriented programming language and object based programming language?