employer cover photo
employer logo
employer logo

Fintech Global Center

Is this your company?

Fintech Global Center interview question

What is inheritance . explain it

Interview Answer

Anonymous

17 Aug 2024

Inheritance is an OOP concept where a new class (child) derives properties and behaviors from an existing class (parent). This allows the child class to reuse and extend the parent class's code, promoting code reuse and organization. The child class can also override methods from the parent class to provide specific implementations, enabling customization. Inheritance supports hierarchical relationships, making it easier to build complex systems by extending simpler ones.