Is there any need to import java.lang package?

Answer Posted / ashish

java.lang package is automatically loaded by JVM so no need
to define it by own.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are annotations in java?

832


What is canonical name in java?

817


What are user defined exceptions?

796


Under what conditions is an object’s finalize() method invoked by the garbage collector?

774


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

847


What is the difference between math floor and math round?

712


What is Mutex (Mutual Exclusion Object) ?

829


Explain about the performance aspects of core java?

759


what is difference betweem home interface and remote interface?

2327


What is a local class in java?

779


Explain different forms of polymorphism?

855


What is the base class of all classes?

748


What's the difference between comparison done by equals method and == operator?

729


What is the size of int?

837


What is integer size in java?

699