Examveda
Examveda

Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access

A. public members of Base

B. protected members of Base

C. private members of Base

D. public members of Derv

Answer: Option A


Join The Discussion

Comments ( 2 )

  1. Umar Farooq
    Umar Farooq :
    3 years ago

    An object of class Derv that is privately derived from class Base and located in main() can access

  2. Mohammad Awais
    Mohammad Awais :
    4 years ago

    option d
    D. public members of Derv
    is the correct one

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block