IBM Interview Question

Basic java concepts