Q

Difference between a library and a package in Java

What is the difference between a library and a package in Java?
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

Dig deeper on Java Web Services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close