API vs. Library vs. Framework. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

API vs. Library vs. Framework.

Can someone explain the difference beetween them?

8th May 2018, 8:00 PM
Rusty.Metal
2 Answers
+ 8
api = aplication programming interface, is used to connect to other aplications framework = used to build aplications on it. libary = a collection of classes and functions for more informations about them ask wikipedia Api: https://de.m.wikipedia.org/wiki/Programmierschnittstelle Framework: https://de.m.wikipedia.org/wiki/Framework Libary: https://de.m.wikipedia.org/wiki/Programmbibliothek edit: mby you have to change the language
8th May 2018, 8:11 PM
Lexfuturorum
Lexfuturorum - avatar
+ 4
In a nut shell the key difference between a library and a framework is "Inversion of Control". When you call a method from a library, you are in control. But with a framework, the control is inverted: the framework calls you... For more info: https://www.programcreek.com/2011/09/what-is-the-difference-between-a-java-library-and-a-framework/
9th May 2018, 5:17 AM
Ali
Ali - avatar