A Library of Classes
Premium Content - Free Preview
One of the big benefits of Object-Oriented Programming is how easy it becomes to re-use code. You can create a class for use in one project and then later easily use it in another project. You can use classes created by other people without even knowing how they work internally.
The Java programming language comes with a very large set of classes known as the Java Class Library. These classes provide a wide range of functionality for doing many common programming tasks. Each class in the Library can be used in your own projects just as you would use your own classes. You can create instances of the class and then invoke its methods.