What is Object-Oriented Programming in Java?
Object-Oriented Programming in Java is a way of designing programs around objects, which combine data and behavior in one unit. Instead of writing everything as separate functions, we model real concepts such as user, order, account, or employee as classes and objects.
The main goal of OOP is to make code easier to organize, reuse, test, and maintain. In interviews, a strong short summary is: Java uses classes and objects to build programs in a modular and reusable way.