This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes I want clear explanation,Plz explain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "I want clear explanation,Plz explain" Watch "I want clear explanation,Plz explain" New topic
Author

I want clear explanation,Plz explain

Anil Pattnaik
Greenhorn

Joined: Jun 15, 2006
Posts: 8
I want to know the purpose of "System.out.println("some String")".
System class comes under java.lang package.But println(" ...") method is a method of PrintStream class which belongs to java.io package.So,even if we donot import java.io package how does that work?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9137
    
    9

Javaworld: The ins and outs of Standard Output


[How To Ask Questions On JavaRanch]
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3742
    
  16
Other answers given in this multiple post


Joanne
hyungi dibble
Ranch Hand

Joined: May 29, 2006
Posts: 42
You don't need to do the import because code
for the System class already do the import.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: I want clear explanation,Plz explain
 
It's not a secret anymore!