explain System.out.println
Answer Posted / nivrutti
'system' is a public class which is final which can never
be extended..It does not extends object.
'out' is the static variable of the class PrintStream desclared in system class.
'println()' is the method of printStream class..
since 'out' is a static variable it can be called by using
the class name'system'
so 'Sstem.out.println()'
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
what do you mean by java annotations?
What is function and method in java?
What are the states of thread in java?
What is nextint java?
What is a class instance variable?
What is stack class in java?
do I need to use synchronized on setvalue(int)? : Java thread
Give few examples of final classes defined in Java API?
Can we extend private class in java?
What is the difference between && and & in java?
What is the difference between throw and throws in java?
What is the base class for error and exception?
How to instantiate member inner class?
Why is it called a string?