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?
![]() |
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?
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.
All times are GMT -7. The time now is 08:09 PM. |