Bridgetek interview question

Write out using pen and paper Class and class inheritance