Morgan Stanley Interview Question: What is inheritance?... | Glassdoor

Interview Question

Engineering Interview(Student Candidate)

What is inheritance?


Interview Answer

1 Answer


Inheritance is a mechanism and advantage of Object Oriented Programming in which we can make use of code more then one time without writing it.Just by using extends keyword in Class or child such that the methods and variables of parent got inherites in the child.

Anonymous on Mar 31, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.