Logic Simplified Interview Question

OOPS Concepts