IBM Interview Question

java - basic oops concepts