You are not logged in.

#1 2015-05-26 09:55:19

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Multilevel Inheritance:

Question:
In the following statements,
class sports {};
class test : public student{};
class result : public test, public sports {};

//Here result class have implemented,

Option A):
Multiple inheritance
Option B):
Multilevel inheritance
Option C):
Multiple inheritance And Multilevel inheritance
Option D):
Hierarchical inheritance

Correct Answer is Option C):
Multiple inheritance And Multilevel inheritance


Failure is the first step towards seccess.

2015-05-26 09:55:19

Advertisement
Ads By Google

Re: Multilevel Inheritance:



Board footer