GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Question in System.out? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question in System.out?" Watch "Question in System.out?" New topic
Author

Question in System.out?

vikram veera
Ranch Hand

Joined: Dec 26, 2000
Posts: 43
hai,
I have question in System.out where (out) stands for what.
Please help me in this.
Lalit Sha
Greenhorn

Joined: Jan 11, 2001
Posts: 28
I think out is a static variable of System class. This is what I could understand from the API. Can anybody explain this further.
Lalit.
ASHISH KUMAR
Greenhorn

Joined: Feb 15, 2001
Posts: 11
Hi,
static variable of System class is PrintStream object.
Ashish
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
The class System has 3 fields: in, out and err. The "in" field is an InputStream. The "out" and "err" fields are PrintStreams.
PrintStream has the print() and println() methods (as well has several others).


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
GeeCON Prague 2014
 
subject: Question in System.out?