Filter interviews by
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Scored well in the assignment process and got qualified
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Inheritance allows for code reusability and promotes the concept of hierarchy in programming.
A subclass can inherit attributes and methods from a superclass, and can also add its own unique attributes and methods.
For example, a 'Car' class can inherit from a 'Vehicle' class, inheriting attributes
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance allows a child class to override a method from its parent class, exhibiting polymorphic b
Top trending discussions
Assistant Professor
9
salaries
| ₹2 L/yr - ₹5 L/yr |
Associate Professor
5
salaries
| ₹2.8 L/yr - ₹10.5 L/yr |
Placement Coordinator
3
salaries
| ₹2 L/yr - ₹2.8 L/yr |
Associate Professor of English
3
salaries
| ₹5 L/yr - ₹6 L/yr |
Accountant & Admin
3
salaries
| ₹1.2 L/yr - ₹1.3 L/yr |
Indian Institute of Technology Gandhinagar
National Institute of Technology
Birla Institute of Technology, Mesra
Manipal Institute of Technology