OOP CONCEPTS – A BRIEF INTRODUCTION
OOP CONCEPTS –
As we were discussing on the previous post about the General introduction to Object-oriented Programming. Furthermore, we had a little Introduction to OOP CONCEPTS. Thus, we can define Object-oriented programming paradigm as..
” The Object-oriented programming paradigm models the real world well and overcomes the shortcomings of procedural paradigm. Generally, it views a problem in terms of objects and thus, emphasizes on both procedure as well as data. ”
Generally, all OOP languages have some concepts i.e. OOP concepts or Object-oriented programming concepts. Following are the OOP Concepts..
Above are the OOP Concepts, all of these are :
Certainly, we all study about the SIX basic concepts such as in the picture above. But, MODULARITY is one of the most important concepts of Object-oriented programming.
Furthermore, we will now be discussing each and every concept of OOP in detail..
1. CLASS –
Generally, a Class is a group of objects sharing common properties and relationship. A Class represents, through a blueprint, a group of objects that share similar characteristics, behaviour and relationships through a blueprint.
Furthermore, we can also say that.. “A Class is a category of objects. It defines all the common properties of the different objects belonging to it.”
A Class is an entity that defines a blueprint for a group of similar objects. A Class is way to bind the data describing an entity and its associative functions together. In C++, a Class makes a datatype that we use to create objects of this particular type.
For example, in general layman’s Language.. Vehicle is a class which can have subclasscar having object such as Ferrari, etc.