what is a object oriented programming technique
-----What Is an Object in Programming?----
Object-oriented programming, or OOP, is an approach to problem solving
where all computations are carried out using objects. An object is a
component of a program that knows how to perform certain actions and how
to interact with other elements of the program. Objects are the basic units
of object-oriented programming. A simple example of an object would be a
person. Logically, you would expect a person to have a name. This would be
considered a property of the person. You could also expect a person to be able
to do something, such as walking or driving. This would be considered a method
of the person.