Friday, 19 December 2014

Hi .. its ND....
I will write about OOP.
Their are four pillar of OOP namely as follows

1.Abstraction: It is nothing but vomatation of unwantaed data with representing essential features. Since classes use the data abstraction.

2.Encapsulation:It is wrapping of  different data in different category. It provied security.

3.Inheritance:It is a property of object of one class can acquire properties of other class. It provied idea about reusability.

4.Polymorphism: It is ability to take more than one from.
       Two forms of polymorphism:
        1) Operator Overloding
        2) Function Overloding





No comments:

Post a Comment