Object Oriented Programming :
It is a modular approach.It provides reusability of data.
Object
- Object is a unique entity whuch contains data and functions (i.e ) characteristica and behaviour.
- The characteristics in a real world object is considered as the data member in the software object.
- The behaviour in a real world object is considered as the method or function in sofware object.
- Class is a set of similar objects.Each object has same attributes and behaviour.
- The charecteristics which make them different are the attributes.
- Therefore the data members contained within the class are called attributes.
- A class is the proottype of an object.Each object which belongs to a particular class has data and methods.As class produces objects of similar type, so class is called as an object factory.
- The system of wrapping data and function into a single unit is called as encapsulation.
- It is the act of representing essential features without including background details.
- It is the process by which objects of one class can link and share some common properties of objects from another class.
- The advantage of this property is reusability.
- It is the process of using a function for more than one purpose.
No comments:
Post a Comment