explain System.out.println
Answer Posted / rajashekhar p
exactly System.out.println();
Solution
System is a Predefined public final class in the
java.lang package.
and out is the static variable of type PrintStream.
and println() method is contain in PrintStream class..
Hence we can invoke this method through class name (i.e
System)
code like as follows........
final class System{
static PrintStream out;
}
class PrintStream{
println();
-----------
------------
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is a class subclass of itself?
What is the difference between Error, defect,fault, failure and mistake?
What is collections framework?
What class of exceptions are generated by the java run-time system?
What is the use of parse function in java?
What is a qms manual?
What is generics in java interview questions?
What are triggers in DB? Explain their types. How do they work?
What is prime number in java?
What is the core java?
How do you sort a string in java?
Why do we declare a class static?
What is canonical name in java?
Why enumeration is faster than iterator?
why Java does not support multiple inheritances?