Java Basic

Syntax to import package

views

03:51
A package is a group of related classes which provides access and protects the access and also handles the management of the space for the various names. Examples of Java package:- A) Java.lang B) Java.util C) Java.io Java.io is a package which includes all the classes of input/output.