MKCL interview question

basic of oop, java