Hi. Welcome to Emmason247.
Today I am going to be talking about OOP(Object Oriented Programming)
In object oriented programming, an Object in very simple terms is anything tangible or intangible that has properties and actions.
By this concept a person, dog, or even a car can be an object. Let us elaborate a bit.
Object 1: Person
Properties: Name, height, complexion, gender, age etc.
Actions: Cry, Laugh, Walk, Eat etc.
Object 2: Dog
Properties: Gender, age, name, specie etc.
Actions: Run, Bark, Bite, Eat etc.
Do you see the above enumeration? It is also the same with a car. That means that virtually everything can be seen as an Object in programming.
Object oriented programming is simply a method of Programming where the concept of objects discussed above is applied.
The properties of objects are seen as attributes while the Actions that the object can perform are seen as methods or Procedures.
All of this is encapsulated inside a class in the most popular use of OOP. The procedures are created in such a way that they can modify the attributes of the object.
Objects in the form of classes can interact with each other without restrictions unless specified by the programmer.
Object oriented programming languages simply are programming languages that have support for the OOP concept of Programming.
There are multiple languages that have support for the concept of object oriented programming.
Some common ones include:
- Python
- VB.net
- C++
- Java
- C#
- PHP
- Ruby
- Perl
- MATLAB
- Kotlin
- etc
I remain Isaiah Ozadhe and I write regularly on Programming and Tech in very Simple terms on Emmason247.
Try to read some of my other articles.