(A) ‘has-a’
(B) ‘is-a’
(C) ‘be-
(D) None of given
Tag: Object Oriented Programming Mcqs
Constant objects cannot change their state?
(A) True
(B) False
(C) NA
(D) NA
__ provide the facility to access the data member.
(A) accesser function
(B) private function
(C) inline function
(D) None of the given
The >= operator can’t be overloaded?
(A) True
(B) False
(C) NA
(D) NA
The sub-object’s life is not dependent on the life of master class in __.
(A) Composition
(B) Aggregation
(C) Separation
(D) non of the given
Which one is a class association?
(A) Simple Association
(B) Inheritance
(C) Composition
(D) Aggregation
Classes like TwoDimensionalShape and ThreeDimensionalShape would normally be concrete, while classes like Sphere and Cube would normally be abstract?
(A) True
(B) False
(C) NA
(D) NA
A class template may inherit from another class template?
(A) True
(B) False
(C) NA
(D) NA