adplus-dvertising
frame-decoration

Question

How many generic types can be given inside a single template class?

a.

Only 1

b.

Only 3

c.

Only 7

d.

As many as required

Answer: (d).As many as required

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many generic types can be given inside a single template class?

Similar Questions

Discover Related MCQs

Q. Template classes must have at least one static member.

Q. Which is most appropriate definition of a base class?

Q. A base class is also known as _____________ class.

Q. An abstract class is always a __________ class.

Q. How many base classes can a single class inherit in java?

Q. How to make a derived class a base class?

Q. If a base class is being derived by two other classes, which inheritance will that be called?

Q. Which among the following must be in a base class?

Q. Which type of members can’t be accessed in derived classes of a base class?

Q. If a class is enclosing more than one class, than it can be called as base class of those classes.

Q. Base class have ________________ of abstraction.

Q. Always the base class constructors are called ___________ constructor of derived class.

Q. Can we call methods of base class using constructor of the derived class?

Q. If a base class is inherited from another class and then one class derives it, which inheritance is shown?

Q. How many base classes can a single derived class have in C++?

Q. If a base class is added with few new members, its subclass must also be modified.

Q. Which among the following is best definition of a derived class?

Q. Which among the following is inherited by a derived class from base class?

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

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