Packages with names like base or common are often found when functionality common to two or more related facilities , for example common types between a client and server or a server and its mock, has been refactored into a separate package.
Read moreHow many types of Java packages are there?
We have two types of packages in Java: built-in packages and the packages we can create (also known as user defined package). In this guide we will learn what are packages, what are user-defined packages in java and how to use them. → and Scanner is a class which is present in the sub package util.
Read more