You are watching: What is one of the benefits of using a library in a program?
But I desire to recognize what space the advantages of making library other than it walk not have to import favor java file, is there any kind of performance advantage of do library?
Libraries and also frameworks have actually these advantages:Reduce the dimension of your class files (code have the right to be extracted and moved in other places where the don"t harass anyone).Cleaner API because you can"t leak internal fieldsYou have the right to test your library live independence of her application. If the library is good, climate the an insect must be in her app. To reduce test and debug time.You deserve to reuse a library in number of projects.
You can make a library if the API is maturation enough, and also robust enough.If you always need to modify it, friend may simply lose girlfriend time in maintenance.One advantage: it pressures you come take treatment of the API.
Thanks because that contributing an answer to stack Overflow!Please be sure to answer the question. Carry out details and also share your research!
But avoid …Asking for help, clarification, or responding to other answers.Making statements based upon opinion; earlier them increase with recommendations or an individual experience.
See more: What Is Likely The Single Most Effective Step That A Company Can Take To Set Ethical Standards?
To find out more, view our tips on writing good answers.
write-up Your price Discard
Not the prize you're spring for? Browse various other questions tagged java or questioning your own question.
site design / logo © 2021 ridge Exchange Inc; user contributions license is granted under cc by-sa. Rev2021.10.15.40479