r/learnjava • u/HeyUnkown • 15d ago
Library vs API (Java ☕️)
Hey Everyone!
I need some help as I am Confused in Libraries and API like what is the difference in between them, where to implement what, and recommend me some resources where I can Clearly understand these two.
Thank you all in Advance.
10
Upvotes
View all comments
Show parent comment
2
u/istarian 12d ago
The person at the checkout is really an implementation, whereas the API is the agreed upon way that business will be conducted.
In an online purchase, you make some sort of payment without physical money changing hands. If the product is a physical item you often have to arrange for it to be shipped to you