aspose file tools*
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
Author

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: 14274
    
  21

'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