explain System.out.println
Answer Posted / jacob.p.george
'system' is a public class which is final which can never
be extended..It itself extends object.
'out' is the static object of the class PrintStream.
'println()' is the method of printStream class..
since 'out' is a static object it can be called by using
the class name'system'
so 'Sstem.out.println()'
Is This Answer Correct ? | 362 Yes | 45 No |
Post New Answer View All Answers
Can a class be private in java?
What is difference between Heap and Stack Memory?
What is a subsequence of a string?
What are the main differences between notify and notifyAll in Java?
Will set allow duplicates in java?
Can a method inside a interface be declared as final?
What are the three best choices for a development environment?
What happens if constructor is private?
Why do we need array in java?
What is a line break example?
Is java map thread safe?
What are JVM.JRE, J2EE, JNI?
Difference between string s= new string (); and string s = "abv";?
Can we have a method name same as class name in java?
What is an infinite loop?