Continental interview question

Write me pseudo code for a class with inheritence