Explain about the OOP'S concepts? .......12 marks
ans:
1. Class
2. Object
3. Encapsulation
4. Abstraction and ADT(Abstract Data Type)
5. Data Hiding
6. Polymorphism
(Defn) If the same object performs different actions or behaviour in different areas is known as Polymormphism.
There are two types of Polymorphism
- Compilation Polymorphism or static polymorphism
- Runtime Polymorphism (Virtual functions )
Compilation Polymorphism or static polymorphism again devided into two types:
(ii) Operator Overloading
Runtime Polymorphism is Virtual Function
7. Inheritance
8. Message Passing
9. Dynamic Binding and Linking
10. Persistence
No comments:
Post a Comment