adplus-dvertising
frame-decoration

Question

If there is a derived class in a program, how many classes must be in that program?

a.

1

b.

2

c.

3

d.

4

Answer: (b).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If there is a derived class in a program, how many classes must be in that program?

Similar Questions

Discover Related MCQs

Q. Which members can never be accessed in derived class from the base class?

Q. How many types of inheritance are supported in C++ for deriving a class?

Q. How many derived class can a single base class have?

Q. If a class is being derived using more than two base classes, which inheritance will be used?

Q. Derived class is also known as ______________ class.

Q. If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?

Q. If base class is an abstract class then derived class ______________ the undefined functions.

Q. How many classes can be derived from a derived class?

Q. The members of a derived class can never be derived.

Q. Which feature is not related to the derived classes among the following?

Q. Deriving a class in such a way that that the base class members are not available for further inheritance is known as ___________________

Q. Which among the following is the main characteristic of class?

Q. To group all the brands of cars, what should be used?

Q. If a class have two data members and two functions to add those two numbers and to subtract them, which among the following is most efficient if the programmer wants to implement multiplication too?

Q. If a database have to be maintained using OOP, to store the details of each employee in a company, which would be the best choice among the following?

Q. Which class represents the most abstracted information?

Q. Which among the following is an advantage of using classes over structures of C?

Q. Which among the follow is a feature of class?

Q. Class is _____________ of an object.

Q. In which case the classes can be used to make more efficient program?