I couldn't understand the concept of OOP in programming languages ... Can someone please help explain it to me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I couldn't understand the concept of OOP in programming languages ... Can someone please help explain it to me?

14th Nov 2016, 1:14 PM
Ugwah chukwuemeka Emmanuel
Ugwah chukwuemeka Emmanuel - avatar
2 Answers
+ 5
OOP is actually focused on object like real life object which possess the property eg person is object n the property of person are name, height, weight etc n OOP also focuses on hiding the code from others it only shows how much the user need n due to OOP it become easier to maintain ur code due to use of clases if we want to change some code we change it in clases which doesnot affect another code of other clases
14th Nov 2016, 1:42 PM
Aakash Thapa
Aakash Thapa - avatar
+ 1
OOP is a programming methodology that tends to make us see, think and analyze programming problem as a model ,abstraction or simulation of real world . but since the real world is full of complexities and a whole lot of details. OOP solve this and make programming easier by focusing on the important details(abstraction),hiding the complexities or information and only revealing what is necessary (encapsulation) . moreso making it possible to reuse code rather than writing from scratch and extend it functionality (inheritance and polymorphism).at the core and basic of OOP is designing and treating problem set as objects through the implementation in classes and have them interact(sending messages) through method calls. hope this help you friend.
23rd Nov 2016, 9:14 PM
kingsley
kingsley - avatar