This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
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 JavaScript Promises Essentials this week in the JavaScript 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
I agree. Here's the link:
subject: query