What is object oriented programming?
OOP(object oriented programming) is programming based on objects.
For example in our real world let us take Dog,cat and cow .These are animals. We can see these animals in real. Hence these are objects (i.e) Dog,cat and cow are objects.
These objects are under the category Animal.Hence Animal is the class.
Animal
|
|
|
Dog
Cat
Cow
Examples of object oriented programming are java,c++,python etc...
In java everything is class and objects.
OOP(object oriented programming) is programming based on objects.
For example in our real world let us take Dog,cat and cow .These are animals. We can see these animals in real. Hence these are objects (i.e) Dog,cat and cow are objects.
These objects are under the category Animal.Hence Animal is the class.
Animal
|
|
|
Dog
Cat
Cow
Examples of object oriented programming are java,c++,python etc...
In java everything is class and objects.
Sign up here with your email
ConversionConversion EmoticonEmoticon