IBM Interview Question

Very java specific questions to understand if I knew it well