File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "query" Watch "query" New topic


Kartik Mahadevan
Ranch Hand

Joined: Feb 16, 2005
Posts: 47

In system.out.println ,System is the name of a class and out is also the name of an object printstream which has a method println engraved in it.
Is it true??

Premil Jacob
Ranch Hand

Joined: Sep 10, 2004
Posts: 30
Systemclass has a variable called out which is of type PrintStream. The PrintStream class has a function called println. In the System class the PrintStream is already open and ready to accept output data.

Thanks,<br />Premil<br /> <br />SCJP 1.4
I agree. Here's the link:
subject: query
It's not a secret anymore!