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
What are the methods to rectify ambiguities in the interfaces in JAVA?
what are Hostile Applets?
Can we extend private class in java?
What are multiple inheritances? Is it supported by java?
How can we make a class singleton?
Are arrays primitive data types?
What is an object in java?
what is bmg file and how to create that files?what will it contailn?
what is a green thread? : Java thread
What is "this" keyword in java? Explain
how its run?
Are arrays dynamic in java?
How does finally block differ from finalize() method?
What is private protected in java?
What is the difference between Java and C++?