One of the most fundamental concepts in the world of Java programming is the package. When developers have a common set of related classes and components, they are encouraged to organize those files and resources together into packages. But what exactly are packages, and how do developers create them? This tutorial, the fourth in a series, uses nothing more than Notepad, the Java 7 JDK and our previously created rock-paper-scissors application to demonstrate how to package related resources together; it shows how packages manifest themselves on the file-system; and it will help developers understand the importance of the package construct in Java.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.