Micron Technology interview question

basic OOP questions