Jump to content

Java package

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Paramlaghane (talk | contribs) at 09:06, 30 December 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Packages are collections of classes and interfaces in Java. Each package is a simply a folder created by programmer. Ther are basically two types of packages in Java

== 1) User Defined packages 2) API Packages or Inbuild packages ==


User defined packages are the packages where programmer can crate it it base / super classes. By importing these packages programmer can develop new classes by inheriting attributes and behaviours of these classes.