NETGABLES interview question

Explain all OOPS concepts using a single example