What exacly is OOP ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What exacly is OOP ?

can you briefly explain

21st Dec 2016, 6:07 AM
Doolitha Samaranayake
Doolitha Samaranayake - avatar
2 Answers
+ 4
its just a way of programmimg. sobebody thought that a program shiuld be secure, have compartments,non relevent data may not be shown to user, and we dont have to write similar code again and again. due to these problem a solution arised and that is oop.
21st Dec 2016, 6:16 AM
manish rawat
manish rawat - avatar
+ 2
object oriented programming. you can probably check Wikipedia, but in short, it means you're building "objects" that map onto your programming problem. an object is a collection of data items of various types, and a set of functions ("methods") that can access those data items and perform certain operations on them. there are various terms, techniques and principles that goes with OOP, (inheritance, data abstraction, data hiding , polymorphism , design patterns, etc. ), but each of these deserve an article by its own (if not a book, e.g. "design patterns" - google it! )
21st Dec 2016, 6:19 AM
Udi Finkelstein
Udi Finkelstein - avatar