Java’s popularity is due to a number of factors. One of the biggest reasons is that it is a popular object-oriented language.
This sounds impressive, but what exactly is an object-oriented language? In fact, what is an object?
Simply put, an object is a collection of code organized to perform a function or simply to retain some information on behalf of another program. Objects are created and then used by programs to perform these functions on behalf of the other programs.
Object-oriented (OO) languages, and the object-oriented design approach, contain many ideas already familiar to you.