Cognizant Interview Question

Different types of inheritance