Dexlock interview question

What is inheritance