Pregunta de entrevista de NTT DATA

Inheritence program in c++ and java.