OpenSource For You

How to prevent it

-

A very simple but harsh solution is to make the base class abstract and disallow object creation. But this solution might not be applicable in many instances where one has a need to instantiat­e the base class or when one has multi-level inheritanc­e needs.

Newspapers in English

Newspapers from India