Difference between a library and a package in Java

What is the difference between a library and a package in Java?

    Requires Free Membership to View

There really isn't a formal definition of a library in Java; however, many informal libraries exist. These libraries are typically distributed as .jar files consisting of classes and interfaces in multiple packages.

This was first published in February 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.