explain System.out.println
Answer Posted / padmakar
System is a class in java.lang package.
as per the concept of java , the instance methods will be called with the objects and the static methods will be called with the class name, the print() method and println() methods are defined as instance methods in the printstream class, which is treated as static in the system class.
so the println() will be called with object of printstream class
i.e out.println() which is static in nature in system class.
so, it is System.Out.println()
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is multithreading important?
what is the difference between yielding and sleeping? : Java thread
What is tcp ip in java?
What is r in java?
Does .length start 0 java?
What is method overriding in java ?
Which collection is sorted in java?
Difference between nested and inner classes ?
Is set thread safe java?
Why null value is used in string?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What Is Composition?
Where to store local variables?
Explain the different forms of polymorphism?
What about static nested classes in java?