Package means to import the header file. i.e., we know C and C++, every program to include the header file then #include<stdio.h> or #include<iostream.h> That's similar for package in Java language. First i give basic syntax: import package-name.*; For example we have import existing package, import java.io.*; import --------> Keyword java --------> packagename io --------> classname (Existing class for io)
That line to connect the existing io methods(Functions).