Hexaware Technologies interview question

What is inheritance?