Java Tut – Packages

Packages are used in Java in order to prevent naming conflicts,to control access, to make seraching/locating and usageof classes,interfaces,enumberations,annotations easier etc.

some of the existing packages in Java are:Java.lang – bundles the fundamental classes – classes of imput, output functions are bundled in this package

Spread the love