PeopleFluent Interview Question

Explain Java inheritance