what is oops concept in c# with examples.
Can any one tell me what is concept of Object Oriented Programming Language with an example.
- 2446 Views
- 4 Answers
OOPS stands for Object Oriented Programming. C++ OOPs Concepts. The major purpose of C++programming is to introduce the concept of object orientation to the C programming language. Object Oriented Programming is a paradigm that provides many concepts such as inheritance, data binding, polymorphism etc. The example of inheritence is
Considering HumanBeing a class, which has properties like hands, legs, eyes etc, and functions like walk, talk, eat, see etc. Male and Female are also classes, but most of the properties and functions are included in HumanBeing, hence they can inherit everything from class HumanBeing using the concept of Inheritance.
-
- 09 Jul
- 0 Comment