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
What is the difference between a checked and an unchecked exception?
What do bitwise operators do?
Java is Pass by Value or Pass by Reference?
What is output buffer?
Can we have a method name same as class name in java?
What are the core java topics?
Why there is no call by reference in java?
How to write custom exception in java?
How do you pass by reference?
Which methods cannot be overridden in java?
Can we define private and protected modifiers for the members in interfaces?
What is the console in java?
When is the finally clause of a try-catch-finally statement executed?
Give us a program to check for parenthesis matching using stack.
How do you override a variable in java?