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
Describe the Big-O Notation.
Can we access the non-final local variable, inside the local inner class?
Can an integer be null java?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is the protected method modifier?
What is the difference between array list and vector in java?
Explain about the select method with an example?
What is the implementation of destroy method in java. Is it native or java code?
What are the benefits of operations?
What is unmodifiable collection in java?
How we can declare a static variable?
What is a flag variable?
What is native code?
What is the intersection and union methods?
What is namespace in java?