aspose file tools
The moose likes Beginning Java and the fly likes what does this  mean?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "what does this  mean??" Watch "what does this  mean??" New topic
Author

what does this mean??

mansi gupte
Ranch Hand

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

Joined: May 31, 2007
Posts: 3190
Check this http://www.devx.com/tips/Tip/14660


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16809
    
  19

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.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: what does this mean??