SOLIDitech interview question

Basic java questions around OOP