You are not logged in.

#1 2015-09-11 05:47:21

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Multilevel Inheritance:

C Programming Quizzes C++ Placement

Question:
In the following statements,

class sports {};
class test : public student{};
class result : public test, public sports {};

//Here result class have implemented,

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

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


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-11 05:47:21

Advertisement
Ads By Google

Re: Multilevel Inheritance:



Board footer