[Solved] Why We Don’t Need To Import the java.lang package to use the Integer Class(Wrapper Classes) In Java [duplicate]

[ad_1]

This is defined in Chapter 7 of the Java Language Specification (JLS):

A compilation unit […] automatically imports all of the public types declared in the predefined package java.lang.

[ad_2]

solved Why We Don’t Need To Import the java.lang package to use the Integer Class(Wrapper Classes) In Java [duplicate]