Phlip <phlip2005@gmail.com> wrote:
> [CC'd to a design newsgroup, because the answer is not specific to C++]
>
> karthikbalaguru wrote:
>
> > What could be the maximum Accepted Layers/Levels of inheritance in a
> > normal C++ program that has private(data),protected(data) and
> > public(data,member functions) ?
I don't think there should be any maximum number of "accepted layers".
Make it as deep as you want. However, I think that all base classes in
C++ should contain only pure-virtual functions and no data (i.e.,
interface classes.)