jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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 java.io package.So,even if we donot import java.io package how does that work?
Joe Ess

Joined: Oct 29, 2001
Posts: 9153

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: I want clear explanation,Plz explain
It's not a secret anymore!