Interview Questions

What is an orthogonal base class?

C++ Interview Questions and Answers

(Continued from previous question...)

23. What is an orthogonal base class?

If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes operate in different dimensions and do not interfere with each other in any way. The same derived class may inherit such classes with no difficulty.

(Continued on next question...)

Other Interview Questions