No, java. lang package is a default package in Java therefore, there is no need to import it explicitly . i.e. without importing you can access the classes of this package.
Read moreHow do I install Java util package?
To import java package into a class, we need to use java import keyword which is used to access package and its classes into the java program. Use import to access built-in and user-defined packages into your java source file so that your class can refer to a class that is in another package by directly using its name.
Read moreWhat is Java Util used for?
util. Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. Contains all of the classes for creating user interfaces and for painting graphics and images.
Read more