Cognizant Interview Question

OOP in java, SOLID principle