Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
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
Have you tried LearnNowOnline?
subject: query