Is there any need to import java.lang package?

Answer Posted / navneet raushan

Yes, When u will use reflection package then u will have to
import java.lang package.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by copy constructor in java?

609


Can sleep() method causes another thread to sleep?

661


What is incompatible types in java?

627


Why method overriding is used?

631


What is the applet security manager, and what does it provide?

643






Why you should not use singleton?

645


What is bom encoding?

654


What are Normalization Rules? Define Normalization?

639


What is difference between calling start() and run() method of thread?

653


Explain about field hiding in java?

615


What is type inference in java8?

673


What is void in java?

695


Is java good for beginners?

661


Explain what is Marker interface?

696


What does string [] args mean?

629