PeopleFluent interview question

Explain Java inheritance