Log in

View Full Version : About java


manchester thani
Feb 15, 2008, 01:07 AM
While using a predefined class we should import the packages like import java.io.*,but I have used the predefined class System.out.print without importing any package.. how is it possible.. and how does it works?

Sitwonade
Feb 29, 2008, 10:52 AM
Certain standard classes, such as System, are imported for you by default. I believe they are being imported by the Object class from which all other classes are descendants.