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 encapsulation with real life example?

0 Answers  


#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }

1 Answers  


what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use

2 Answers   HCL,


what is data hiding.

3 Answers   Wipro,


Describe these concepts: Polymorphism, Inheritance and Abstraction.

0 Answers   TCS,






what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me

1 Answers  


Whatis the difference between oop and object based language

3 Answers  


create a c++ program that will ask 10 numbers and display their sum using array.

1 Answers  


What is variable example?

0 Answers  


define a string class. overload the operator == to compare two strings

2 Answers   Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,


What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,


What is a linked list?

7 Answers   IBM, Neural Info,


Categories