Is there any need to import java.lang package?

Answer Posted / prashant

In java, by default the java.lang package is imported and
the java.lang.package package is in the java.lang package,so
for that no need to that.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between association, composition and aggregation?

554


Is linked list a linear or non-linear data structure?

537


What is merge sort in java?

577


What is function and its uses?

558


Is array a class?

513






Is an integer an object?

513


What is the difference between dom and sax parser in java?

526


Which graphs are functions?

490


What is the difference between hashmap and hashtable in java?

550


What is an image buffer?

531


What is difference between static variable and global variable?

542


Mention the default values of all the elements of an array defined as an instance variable.

512


Explain the hierarchy of java exception classes?

588


Is node a data type in java?

489


How do I enable java in safari?

542