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 is meant by object?

660


What is the purpose of the finalize() method?

814


Is null a string in java?

648


Can a final variable be initialized in constructor?

581


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

630






Can we define a package statement after the import statement in java?

684


What is treeset in java?

635


What is java and their uses?

636


Can one thread block the other thread?

689


What are the different ways of implementing thread? Which one is more advantageous?

629


Can we use string in the switch case?

664


What is string intern in java?

643


Is java written in c?

633


What are loops in java?

635


Is 0 true or is 1 true?

598