i
Deloitte
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Inheritance is a way to create a new class from an existing class while polymorphism is the ability of an object to take many forms.
Inheritance allows a subclass to inherit properties and methods from a superclass.
Polymorphism allows objects of different classes to be treated as if they are objects of the same class.
Inheritance is a 'is-a' relationship while polymorphism is a 'can-do' relationship.
Example of inheritanc...
Consultant
33k
salaries
| ₹6.2 L/yr - ₹23 L/yr |
Senior Consultant
20.7k
salaries
| ₹11 L/yr - ₹42 L/yr |
Analyst
14k
salaries
| ₹3.7 L/yr - ₹12.4 L/yr |
Assistant Manager
10k
salaries
| ₹7.8 L/yr - ₹24 L/yr |
Manager
7k
salaries
| ₹15.8 L/yr - ₹52 L/yr |
Accenture
PwC
Ernst & Young
Cognizant