(A) Simple Association
(B) Inheritance
(C) Composition
(D) Aggregation
Tag: OOP Mcqs
If a class involves dynamic memory allocation, thenA?
(A) Default copy constructor, shallow copy is implement
(B) User defined copy constructor, shallow copy is impl
(C) Default copy constructor, deep copy is implemented
(D) User defined copy constructor, deep copy is implem
__ is automatically called when the object is created.
(A) member function
(B) object
(C) constructor
(D) None of the given
If some of objects exhibit identical characteristics, then they belong to?
(A) Different classes
(B) Multiple classes
(C) Same class
(D) None of the given
If a class A inherits from class B, then class A is called?
(A) Child class
(B) Derived class
(C) Parent class
(D) Child and derived class
Operator overloading is?
(A) making C++ operators work with objects
(B) giving C++ operators more than they can handle
(C) giving new meanings to existing Class members
(D) making new C++ operators
this pointer does not pass implicitly to __ functions.
(A) Static Member
(B) Non-Static Member
(C) Instance Number
(D) None of the given
Which of the following operator(s) take(s) one or no argument if overloaded?
(A) ++
(B) *
(C) %
(D) All of the given choices