IBM Interview Question

Technical Question based on the Java