Is there any need to import java.lang package?

Answer Posted / guest

java.lang package is imported by default.we donot really
need to import it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will happen if static modifier is removed from the signature of the main method?

521


Why does it take so much time to access an applet having swing components the first time?

1390


How do you get length in java?

553


Explain about object oriented programming and its features?

587


How to print an arraylist in java?

491






What is the method to declare member of a class static?

534


What is boolean strategy?

621


What types of index data structures can you have in java?

608


Can we use a default constructor of a class even if an explicit constructor is defined?

644


Can we call a non-static method from inside a static method?

555


How to run a JAR file through command prompt?

711


How static variable work in java?

591


What are parsers? Dom vs sax parser.

553


How to display arraylist values in java?

484


How do you check if two given string are anagrams?

551