In short, a JAR file is a physical file structured in the same way as a zip file that contains files used by your program at runtime. The jar will usually include .class files, executable versions of your classes, and other resources such as icons, images, language property files, etc. The Java Tutorial describes banks and how to create and manage them. (Http://java.sun.com/docs/books/tutorial/jar/index.html)
Packages are defined in this way in the Java Tutorial tutorial on interfaces and packages: "A collection of related classes and interfaces that provide security access and namespace management." (Http://java.sun.com/docs/books/tutor...va/interpack/). Although Iβm sure, I donβt find that this definition in itself really gives you a good idea about which package. For more information, go to the cited page and read in this section of the tutorial.
Akshatha
source share