File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "I want clear explanation,Plz explain" Watch "I want clear explanation,Plz explain" New topic

I want clear explanation,Plz explain

Anil Pattnaik

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 package.So,even if we donot import package how does that work?
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

Javaworld: The ins and outs of Standard Output

[How To Ask Questions On JavaRanch]
Joanne Neal

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

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.
jQuery in Action, 3rd edition
subject: I want clear explanation,Plz explain
It's not a secret anymore!