Pregunta de entrevista de Boston Scientific

What does Inheritance Work in Java?