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 void a keyword in java?
why java uses class level type casting ?
How variables are declared?
Can we have 2 main methods in java class?
What is dynamic binding(late binding)?
What happens when I use / and % with a negative numerator?
How will you add panel to a frame?
How do I remove a character from a string in java?
When should I use a singleton?
What is the finalize method do?
Can a static class have a constructor?
What are static initalizers in java ?
Can we declare array without size in java?
Explain about main() method in java ?
What are the skills required for core java?