Cognizant Interview Question

Java questions that are based on oops concepts