java.util Package

A package is a group of related classes or files.
We can create our own package by including the package command as the first statement in our Java code.
The classes in a package must be saved under a folder that bears the same name as the package.
The java.lang package is imported by default into every Java program.
Wrapper classes encapsulate simple primitive data types in the form of classes.
A String literal in Java is an instance of the String class.
The String class provides a variety of methods for searching and extracting portions of Strings.
Though Strings themselves cannot be modified directly we can create new Strings by applying certain methods on them.
The StringBuffer class is used as a building block for building Strings.