Question: If a class B is a pubic base class for a derived class D, then an object of class D bears what relationship to class

 If a class B is a pubic base class for a

If a class B is a pubic base class for a derived class D, then an object of class D bears what relationship to class B? An is-a relationship There is no relationship between the two. O A has-a relationship ? A fraternal relationship Question 15 (5 points) Suppose class child is derived from ciass Parenc that was in turn derved trom class GrandParent i) child, ii) Parent, ??? )Grandparent what is the order? hss Paren that was in turn dorved trom clasn GrandPasant When we destroy an object of ciae caiid troe destructors Please read the options carefulily Grandparent Parent, Child Chld, Parent, GrandParent randparent

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!