jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes how does System.out.println() works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how does System.out.println() works" Watch "how does System.out.println() works" New topic

how does System.out.println() works

sapana jain
Ranch Hand

Joined: Oct 24, 2007
Posts: 42
from many days i was just thinking that how does the System.out.println() works in java.I refer many books but not getting the right explanation.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

'System' is a class (in the package java.lang) that has a member variable called 'out'. The type of 'out' is java.io.PrintStream, as you can see in the API documentation. The method 'println(...)' is a method of class PrintStream.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: how does System.out.println() works
It's not a secret anymore!