OOPs Notes
OOPs Notes
than functions.
Purpose of OOP -
i- It is easy to implement.
ii- It is easy to extend.
iii- It is easy to maintain.
Object - An Object is a real world entity that has properties and behaviour.
Instance Of a class.
Pillars Of OOP -
1 - Inheritence
2 - Polymorphism
3 - Abstraction
4 - Encapsulation
ex - Function Overloading
ex - Function Overriding
Function Overloading - When Same Function Behaves differently with different no. of
Parameters.
resources - https://www.interviewbit.com/oops-interview-questions/
https://www.javatpoint.com/oops-interview-questions
https://www.geeksforgeeks.org/oops-interview-questions/