Flip media Interview Question

Relating to OOPs