What is OOP??? 👇 OOP stands for Object-Oriented Programming and that concept is a programming paradigm based on the concept of "Objects" that contain data and methods. The main purpose of object-oriented programming is to increase the flexibility and maintainability of programs. Modularity for easier troubleshooting, reuse of code, flexibility, and effective problem solving are advantages of the OOP concept. Now, let us consider what an object is... An object is anything that has state and behavior. For example, a car, a dog, a person, etc. At runtime, when the Java Virtual Machine (JVM) encounters the new keyword, it will use the appropriate class to make an object that is an instance of that class. Consider the car object it has state color, model, brand, weight, and as behaviors we can consider a break, accelerate, gear change. Classes A class can be defined as a template/ blueprint describes the behavior/state that the object of its type support. On th...