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 REST with Spring (video course) this week in the Spring 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: 3359
Check this

[] | [Java job hunting know how] | [Java resumes]
Henry Wong

Joined: Sep 28, 2004
Posts: 20373

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??
It's not a secret anymore!