Import explanations in Java

Import explanations in Java

Import is a watchword in java dialect used to import the predefined properties of java API into current working java program.
Syntax
import package1.package2.......*;
Used to import all the predefined properties of given package.

Syntax

import pack1.package2.............Class_Name/Interface_Name;
Used to import particular class or interface in a java program.
Java Programming interface is a gathering of bundle, bundle is a compartment which is accumulation of predefined classes and interfaces.
Note: Import proclamation ought to be the primary explanation of the java programs.