Caselle interview question

How will you implement inheritance in your code?