answersLogoWhite

0

Direct base classes are those that are specified in a derived class' inheritance declaration. Indirect base classes are those that are inherited via the direct base classes.

class A{};

class B : public A{};

class C : public B{};

With respect to C, B is direct while A is indirect. With respect to B, A is direct.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the direct and indirect object of the sentence The teacher read the students a proverb at the end of the class?

"proverb" is the direct object, "students" is the indirect object.


What is the indirect object in the sentence Mrs. Buenaventura reads the class an interesting story?

The indirect object is 'the class'; the direct object is 'story'. Mrs. B. reads story.


What is the indirect object of this sentence Mr.Mathis gave the class free tickets to the movies?

The indirect object is class; the direct object is tickets: Mr. Mathis gave what? Tickets. He gave them to whom? The class.


What is the indirect object in the teacher told the class a story?

"The class" is the indirect object. In English, the indirect object is usually something that could also be expressed by putting "to" in front of it. The sentence could be rephrased "The teacher told a story to the class."


Indirect object example?

An indirect object is a noun or pronoun that receives the direct object. For example, in the sentence "I gave the book to her," "her" is the indirect object because she is the recipient of the book (the direct object).


What's the difference between the Class 365 and Class 465 466?

The difference between the Class 365 and Class 465, 466 is basically the cost.


Difference between exclusive or inclusive class intervals?

difference between inclusive and exclusive class interval


What is the indirect object of the sentence Gena was writing her boyfriend a letter during English class?

Complete indirect object: "her boyfriend"; simple indirect object: "boyfriend"


What is difference between first class and second class on train trips?

What is the difference between buying a 1st class and a 2nd class ticket on the train in England?


What is the price difference between first class and economy class tickets for this flight?

The price difference between first class and economy class tickets for this flight is 500.


What is the difference between a class What is the difference between a class III and class IV hitch and?

class III rated for up to 5,000lbs, class IV is rated for up to 10,000lbs towing capacity


What is parent class in java?

Object Class is the parent class of all classes in java.Every class in the Java system is a descendant (direct or indirect) of the Object class.