Do I need to import java.lang package any time? Why?

Answer Posted / hrindows@gmail.com

No. It is by default loaded internally by the JVM.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which data type is class in java?

754


Is java util list serializable?

703


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

749


Is void a type?

749


What are basic data types?

767


Can we override the private methods?

722


why would you use a synchronized block vs. Synchronized method? : Java thread

733


Why do we use return statement?

742


What does jenkins do?

668


Is null false in java?

917


How we can skip finally block of exception even if some exception occurs in the exception block in java?

717


Explain notify() method of object class ?

838


How do you know if a value is nan?

786


What is the purpose of the main method?

740


What is return data type?

769