What is the definition for objects and oop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the definition for objects and oop?

21st Dec 2016, 2:39 PM
Samyak jain
2 Answers
+ 1
OOP is a style of programming that stresses : - encapsulation (with data hiding) - inheritance - polymorphism In C++ this is implemented using classes (although you can use structs as well). An object, OTOH, is an instance of a class in a program. OOP is more a philosophy while an object is a physical entity in your program.
21st Dec 2016, 5:06 PM
Ettienne Gilbert
Ettienne Gilbert - avatar
+ 1
OOP (Object Oriented Programming) is a set of some programming principles. Search it on YouTube, you'll get all the answers with some nice illustrations.
21st Dec 2016, 9:22 PM
Arthur Hakobyan
Arthur Hakobyan - avatar