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 ?
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
+ 3
YUGABDH PASHTE
static block play a very important role in java..
System is only class in java which interact with any hardware ..
+ 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 ("");
?
+ 1
Well its not possible, sorry for that one. But is it like out is declared in System class