Capgemini interview question

Write an example with inheritance.

Interview Answer

Anonymous

Jul 9, 2019

Written two different classes to show inheritance between, created object of derived class.