This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question in System.out?" Watch "Question in System.out?" New topic

Question in System.out?

vikram veera
Ranch Hand

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

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.

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

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
I agree. Here's the link:
subject: Question in System.out?
Similar Threads
Thread Synchronization
unicode value for char
Speeding up the use of system.out
System.out question (oddity)
Why System.out