Technology
CORE JAVA   CORE JAVA
JSP   JSP
JDBC   JDBC
RMI   RMI
HIBERNATE   HIBERNATE
OOP   OOP
JAVA   JAVA
 
 



ok  why printstream class static object inside System class


Share Question and Answer -

There is always one static object (out) inside System class because to connect console with the system class we need the out as well as println(), is a method of Printstream class, So to call that method from system class we need one  object of Printstream class inside System class and to instantiate that object at the starting of the program we make that object as static.