This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes what does this  mean?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what does this  mean??" Watch "what does this  mean??" New topic

what does this mean??

mansi gupte
Ranch Hand

Joined: Dec 30, 2008
Posts: 72
PrintStream o = System.out;
arulk pillai
Ranch Hand

Joined: May 31, 2007
Posts: 3219
Check this

Java Interview Questions and Answers Blog | profile | Java Interview Books
Henry Wong

Joined: Sep 28, 2004
Posts: 18498

piya rai wrote: PrintStream o = System.out;

You are declaring a reference, called "o", which is of type PrintStream, and assigning it the System.out reference. This works because "out" is of type PrintStream, and is a static variable of the System class.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link:
subject: what does this mean??