What is an orthogonal base class?

Answers were Sorted based on User's Feedback



What is an orthogonal base class?..

Answer / prasant

When two base classes have no overlapping properties or
methods they are said to be orthogonal to each other. A
class can be derived from these two base classes with no
difficulty.

Is This Answer Correct ?    9 Yes 1 No

What is an orthogonal base class?..

Answer / harendra pal

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the purpose of polymorphism?

0 Answers  


Where You Can Use Interface in your Project

0 Answers   KPIT,


What is encapsulation process?

0 Answers  


How do you achieve runtime polymorphism?

0 Answers  


What is Agile methodology?

20 Answers   ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,


for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 Answers  


What is encapsulation with real life example?

0 Answers  


What are the benefits of interface?

0 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


What is the difference between static polymorphism and dynamic polymorphism?

0 Answers  


What are functions in oop?

0 Answers  


explain the concepts of oops?

1 Answers  


Categories