What guiding principles do you follow for designing a class hierarchy?

The public interface of a class should contain only operations defined on the class. Classes should be the least dependent as possible. A class hierarchy in the inheritance should be drawn based upon their natural relationship and never imposed. The topmost class should be an abstract class or an interface.14 Ara 2016

Sizin İçin Seçtik  What is the class design?

Leave a Reply

Your email address will not be published. Required fields are marked *