(A) Static variables
(B) Dynamic variables
(C) Instance variables
(D) Data members
Related Posts 👇
-
a pointer p to objects of a base class & it contains the address of an object of a derived class & both classes contain a nonvirtual member function ding() ding(), then the statement p->ding();version of ding() in the __ class to be executed.
(A) Base
(B) Derived
(C) Abstract
(D) virtual
-
If a class D has been derived using protected inheritance from class B (If B is a protected base and D is derived class) then public and protected members of B __ accessed by member functions and friends of class D and classes derived from D?
(A) can be
(B) cannot be
(C) does restirct to be
(D) not given
-
Which sentence clearly defines an object?
(A) one instance of a class
(B) another word for a class
(C) a class with static methods
(D) a method that accesses class attributes
-
Consider the following statement Cupboard has books What is the relationship between Cupboard and books?
(A) Composition
(B) Aggregation
(C) Inheritance
(D) None of the given options
-
Which of the following is an integral part of an object?
(A) State
(B) Behavior
(C) Unique identity
(D) All of the given
-
A range is often supplied to an algorithm by two __ values.
(A) italic
(B) iteration
(C) iterator
(D) None of given
-
The specialization pattern after the name says that this specialization is to be used for every?
(A) data type
(B) meta type
(C) virtual type
(D) pointer type
-
Function templates should be used where code and behavior must be identical?
(A) True
(B) False
(C) NA
(D) NA