Pergunta de entrevista da empresa Napier Healthcare

That guy wrote two classes on a paper from those one extends the other,asked me to write spring configuration for the same