LG Electronics interview question

Couple questions on Java and OOP