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 immutability in java?
What are the skills required for core java?
What is the purpose of extern variable?
Write code to implement bubble sort in java?
What are the main concepts of oops in java?
Is the empty set a singleton?
How do you remove an object from an arraylist in java?
What is a string what operation can be performed out with the help of a string?
What is a condition in programming?
What is java and their uses?
What is the purpose of encapsulation?
Explain creating threads by extending thread class ?
Explain about member inner classes?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Differentiate between class and structure.