Ask Experts Questions for FREE Help !
Ask
    manchester thani's Avatar
    manchester thani Posts: 14, Reputation: 1
    New Member
     
    #1

    Feb 15, 2008, 01:07 AM
    About java
    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's Avatar
    Sitwonade Posts: 24, Reputation: 3
    New Member
     
    #2

    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.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Java [ 3 Answers ]

Please will you help me with these questions... where can I find a great site that will help me answer these... 1/ Who developed Java and when? 2/ What are some unique features of Java? 3/ Is java used for websites or stand alone programs? 4/ What does it mean when I say java is an "object...

Java [ 4 Answers ]

We can not instantiate an abstract class. But we can write a constructor in abstract class. If we are not able to create an object, then how and why is it possible to create a constructor in an abstract class?

Java Is used for [ 2 Answers ]

When I rest my pointer over a link, it diplays information about that link Is that Java at work? Why are there different Jav versions? Is Java compiled like C or interpeted like Basic? Is this contained in Internet Explorer? Thank You very much

By using vc++ or java? [ 1 Answers ]

Hi, I want to make image processing application.which programming language I should use? Either vc++ or java or anything else? Please guide me early.

Java Help! [ 1 Answers ]

Hi Experts, I'm not sure if I'm posting this in the right category, but I sure hope someone can still help me. I'm not able to view Java applets. I've downloaded the most recent version of JVM. I have version 1.4.1. I've tried changing some settings (like enabling Java in my internet...


View more questions Search