Edits for clarity (#33309)

Edited introductory paragraph for clarity.
pull/32890/head^2
UberschallSamsara 2019-04-13 12:13:48 -05:00 committed by The Coding Aviator
parent d8a44d691e
commit a0c464e058
1 changed files with 3 additions and 3 deletions

View File

@ -4,12 +4,12 @@ title: Object Oriented Programming using C++
## Object Oriented Programming using C++ ## Object Oriented Programming using C++
Object oriented programming, OOP for short, aims to implement real world entities like inheritance, hiding and polymorphism in programming. The main aim of OOP is to bind together the data and the functions that operates on them so that no other part of code can access this data except that function. Object oriented programming, OOP for short, aims to represent real world entities in software, using mechanisms such as inheritance, hiding and polymorphism. The main aim of OOP is to bind together the data and the functions that operate on them so that software objects have control over how their data is accessed.
Let us learn about different characteristics of an Object Oriented Programming language: Let us learn about the different characteristics of an Object Oriented Programming language:
### Object: ### Object:
Objects are basic run-time entities in an object oriented system, objects are instances of a class these are defined user defined data types. Objects are basic run-time entities in an object oriented system. Objects are instances of a class. Classes are user-defined data types.
```cpp ```cpp
class person class person