Are there any rules/guide lines / rules of thumb regarding modifying
members access modifiers through inheritance?

I can only think of LSP that one should not reduce access level of
members in a child class respect to it's parent.

What about increasing the access level? e.g. having a protected member
turned public in the child class? somehow seems wrong, but I can not
point at the why.

Regards

Arjang

Reply via email to