+ 7

What is a Library?

I seen discussions about how language has different libraries. So practically what is a library? https://www.sololearn.com/discuss/1701716/?ref=app

26th Feb 2019, 10:04 AM
Toby Chidi
Toby Chidi - avatar
8 odpowiedzi
+ 13
For Example: If you want some sorting algorithms in your programme. exmp java provides built in library. It is therefore made in advance because you make it by yourself. So many of your time is waste. If you want some sorting in your programee So use import java.util.Arrays import = keyword for use any built in libraries java = package util = subPackage Arrays = librarie for provied sorting algorithem and many more .
27th Feb 2019, 10:37 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 8
you can import libraries using import statement (placed on top of the code)
26th Feb 2019, 2:01 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 7
A library is just a collection of code and functions that someone put together to accomplish some task that is typically outside the scope of what the language can easily do without it. In the case of Java, like in your example, one might write a library that provides functions to build a graphical user interface (gui) on a certain platform, like android or windows. This library would include tools to make windows, buttons, labels, etc. I hope this helps! Good luck!
26th Feb 2019, 11:45 AM
Mike Perkowski
Mike Perkowski - avatar
+ 7
Library is a collection of pre-builded functions/files/class or variables.
27th Feb 2019, 7:23 PM
B Karthik Marimuthu
B Karthik Marimuthu - avatar
+ 5
Libraries can sometimes be larger than the standard language.
28th Feb 2019, 1:39 AM
Sonic
Sonic - avatar
+ 2
A libary is extension for the language, it's give you more abilities and prepared functions that will make your life easier. And you will not have to do the hard work twice(-;
26th Feb 2019, 10:53 PM
Nadav Traub
Nadav Traub - avatar
+ 1
Libraries are lots and lots of functions for you to use
27th Feb 2019, 5:21 PM
kfirar
kfirar - avatar
- 1
Java
27th Feb 2019, 1:11 AM
aiswarya kolisetty