explain System.out.println
Answer Posted / zahid hussain indher
System is class of java.lang Package and we khow that all
the member of System class are static similiarly 'out' is
object of java.io.PrintStream class we use System.out mean
out is static object of java.io.PrintStream class and we are
familiar that if object of any class is achieved then we can
call the methods of that class and java.io.PrintStream class
provide a non-static method println() that is being called
by out object
System.out.println();
System = class
out = static object of java.io.PrintStram class
println()= is method of java.io.PrintStream
Hope Like the Answer
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how is final different from finally and finalize in java?
Can we pass a primitive type by reference in java? How
How to create com object in Java?
What is the difference between equals() and?
What is the properties class in java programming?
What is return type in java?
Explain OOPs concept.
What is initial size of arraylist in java?
Can you explain inner class.
Is overriding possible in java?
Why do we need variables?
How are variables stored in memory?
Can you pass by reference in java?
What is the role of garbage collector in java?
Should database connections be singleton?