What is an orthogonal base class?
Answers were Sorted based on User's Feedback
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 |
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 |
Name a typical usage of polymorphism
What is difference between new and malloc?
what is runtime polymorphism? For the 5 marks.
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
when to use 'mutable' keyword and when to use 'const cast' in c++
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is for loop and its syntax?
Can static class have constructor?
What is coupling in oops?
Why u change company?
What are the valid types of data that the main () can return in C/C++ language
define oops with class and object