explain System.out.println
Answer Posted / anup
----> public final class System extends Object <------
Directory Structure is as follows:
java.lang.Object
|
+--java.lang.System
System class has following static field-
static PrintStream out =new PrintStream();
directory Structure of PrintStream:
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.PrintStream
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can you call one constructor from another if a class has multiple constructors?
Can we override constructors in java?
Are arrays passed by reference in java?
What is an object in java and how is it created?
how many types of Inheritance?
Why is stringbuffer called mutable?
What is string made of?
What is a package in java? List down various advantages of packages.
If goto and const is reserve words than why it is not work in java?
What is the difference between jdk, jre, and jvm?
Can we able to pass objects as an arguments in java?
What are the 8 primitive data types in java?
Does constructor be static?
How is treeset implemented in java?
Why we use multi threading instead of multiprocessing?