What is Java?
Java is a language of object-oriented programming (OOP-Object Oriented Programming). OOP paradigm to solve the problem by representing the problem to the object model.
Object Oriented Programming (OOP)
Objects in OOP
The objects in the real world, has two special characteristics: Status and Behavior. For example, bicycles have the status (number of gears, the number of pedals, two tires) and behavior (braking, accelerating, change gear).
Object-oriented languages also have the same characteristics as the objects in the real world. Namely the status of the programming language are usually stored as Variables and behaviors that are implemented as methods.