Micron Technology interview question

what is inheritance, dependency injection (OOP)