This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 8836
    
    7

Javaworld: The ins and outs of Standard Output


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3418
    
  12
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: I want clear explanation,Plz explain
 
Similar Threads
can we serialize InputStream and OutputStream object?
"Handle or Declare" Rule for Checked Exceptions
93% in SCJP
overriding method
FileFilter?