You are not logged in.

#1 2015-05-26 05:56:07

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

Derived Class:

Question:
If a class x needs to be derived from a class y, which of the following ways is correct to do so?

Option A):
class x : public y
Option B):
class x derives public y
Option C):
class y derives public x
Option D):
class y : public x

Correct Answer is Option A):
class x : public y


Failure is the first step towards seccess.

2015-05-26 05:56:07

Advertisement
Ads By Google

Re: Derived Class:



\n

Board footer