Monday, 16 December 2013

Personal 4

orthogonal base class

2 base classes which have no overlapping methods are inherited without difficulty 
by derived class then the 2 base classes are independent to each other and known as
orthogonal base class.

class1- save method                     |   class2 - save method


in the above classes both have save method does different saving, in such case derived
class has  overlapping methods so they are not orthogonal base class.

No comments:

Post a Comment