java.lang package is a part of wrapper class imported by default into Java programs - Wrapper classes

Q.  What package is a part of the wrapper class which is imported by default into all Java programs?
- Published on 15 Jul 15

a. java.lang
b. java.awt
c. java.io
d. java.util

ANSWER: java.lang
 

    Discussion

  • Prajakta Pandit   -Posted on 15 Dec 15

    - java.lang package is a part of the wrapper class which is imported by default into all Java programs.

    - It provides the classes that are fundamental to the design of the java programming language.

    - Java.lang package is imported by default and we don't need to import any class from this package explicitly.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)