IBM interview question

Java Questions OOPS Competitive Coding