Inheritance - True or False Online Exam Quiz

Inheritance - True or False GK Quiz. Question and Answers related to Inheritance - True or False. MCQ (Multiple Choice Questions with answers about Inheritance - True or False

Multiple inheritance is different from multiple levels of inheritance.

Options

A : True

B : False

C : -

D : -

View Answer

An object of a derived class cannot access private members of base class.

Options

A : True

B : False

C : -

D : -

View Answer

The way a derived class member function can access base class public members, the base class member functions can access public member functions of derived class.

Options

A : True

B : False

C : -

D : -

View Answer

There is no private or protected inheritance in C#.NET.

Options

A : True

B : False

C : -

D : -

View Answer

We can derive a class from a base class even if the base class's source code is not available.

Options

A : True

B : False

C : -

D : -

View Answer

If a base class contains a member function func() , and a derived class does not contain a function with this name, an object of the derived class cannot access func() .

Options

A : True

B : False

C : -

D : -

View Answer

If a base class and a derived class each include a member function with the same name, the member function of the derived class will be called by an object of the derived class

Options

A : True

B : False

C : -

D : -

View Answer

The size of a derived class object is equal to the sum of sizes of data members in base class and the derived class.

Options

A : True

B : False

C : -

D : -

View Answer

Private members of base class cannot be accessed by derived class member functions or objects of derived class.

Options

A : True

B : False

C : -

D : -

View Answer

A class D can be derived from a class C , which is derived from a class B , which is derived from a class A .

Options

A : True

B : False

C : -

D : -

View Answer

Attributes - General Questions more Online Exam Quiz

Advanced SQL - True or False

Data and Database Administration - True or False

Database Design Using Normalization - True or False

Database Processing for BIS - True or False

Database Redesign - True or False