Packages



Packages are a way of organizing group of classes. A package contains any number of classes that are related in purpose, in scope, or by inheritence. If your programs are small and use a limited number of classes, you may find that you don’t need to explore packages at all. But the more java programming you do, the more classes you will find you have. And although those classes may be individually well designed, reusable, encapsulated and with specific interfaces to other classes, you may find the need for a bigger organizational entity that allows you to group packages.

Comments

Popular posts from this blog

Write a program to add two number using inline function in C++?

Traversing of elements program with algorithm and Flowchart