banner image
Sedang Dalam Perbaikan

What is package and who to organize in java?


What is package and who to organize in java?

Many times when we get a chance to work on a small project, one thing we intend to do is to put all java files into one single directory (folder). It is quick, easy and harmless. However if our small project gets bigger, and the number of files is increasing, putting all these files into the same directory would be a nightmare for us. In java we can avoid this sort of problem by using Packages.

In simple terms, a set of Java classes organized for convenience in the same directory to avoid the name
collisions. Packages are nothing more than the way we organize files into different directories according to
their functionality, usability as well as category they should belong to.
What is package and who to organize in java? What is package and who to organize in java? Reviewed by MCH on April 18, 2014 Rating: 5

No comments:

Powered by Blogger.