0

What is out stream ?

in java tutorial in basic concept part there is one sentence - " The System class and its out stream are used to access the println method." what is meaning of out stream ?

28th Jun 2018, 3:33 PM
Yugabdh
Yugabdh - avatar
5 ответов
+ 5
System is a class out is a reference variables of PrintStream class which is declared as static in System class..... println is a function of PrintStream class
28th Jun 2018, 3:58 PM
Arun Tomar
Arun Tomar - avatar
+ 3
YUGABDH PASHTE static block play a very important role in java.. System is only class in java which interact with any hardware ..
28th Jun 2018, 6:00 PM
Arun Tomar
Arun Tomar - avatar
+ 1
Arun Tomar thanks for that one. Just a simple question if out is refrence is it possible for us like : System a System.a.println (""); ?
28th Jun 2018, 4:58 PM
Yugabdh
Yugabdh - avatar
+ 1
Well its not possible, sorry for that one. But is it like out is declared in System class
28th Jun 2018, 5:05 PM
Yugabdh
Yugabdh - avatar