Oe-Ec604c
Oe-Ec604c
Oe-Ec604c
Presented By
Name: Abhigan Banerjee University Roll No.:16900320004
1
Overview:
Introduction
Features Of OOP
Brief Description & Methodology
Discussion
Reference
2
Introduction:
Before going straight in to the “Object Oriented Programming” we must
know why this type of language came into application, for that we should know
that based on the approach used languages are of 2 types mainly –
5
Polymorphism
‘Poly’ means Many & ‘Morph’ means forms, i.e. ‘Many-forms’. If we want to
find the analogy with the real life application we take an example as follows-
A student is not only a student he/she has many forms as Brother/Sister ,
son/daughter so this is an example of Polymorphism in the real life
perspective.
In technical term a method or function can behave differently according to
Application.
It increases the flexibility of the language.
Polymorphism -
Compile time Run time
polymorphism polymorphism
Function or Method Virtual Function
Overloading & Hiding.
Operator Overloading Method Overriding 6
Inheritance
Again if we take reference from real life application we can find that every
Children gets some features from their parents, this inheriting feature from
Parents is nothing but Inheritance.
If a class inherits other class then by default the child class will have the
methods and members which were present inside the parent class, we do not
need to redefine those, that is why it enhances Reusability.
7
Discussion:
Due to the non validity of POP for real life entities and data is not secured in
that approach we have switched to OOP and it is a must learn because modern
programming is based on OOP as it provides better security and it is more
flexible along with a enhancing functionalities and have the feature of abstra-
ction too. So that is how we can understand the basic feature and need of OOP.
8
Reference:
Dynamic Programming, by E. V. Denardo, Dover Publications, 2003.
9
Thank You
10