Question No. 1
In _______________ a pointer or
reference to an object is created inside
a class
Select correct option :
Aggregation
Composition
Seperation
None of the given
Question No. 2
Sub - Object can not be initialized using
the constructor
Select correct option :
True
False
Question No. 3
To initialize an array of objects , only
_____________ will be called
Select correct option :
Defualt Constructor
Overloaded Constructor
Default Object
None of the above
Question No. 4
Let Suppose a class Student with
objects std 1 , std 2 , and std 3 . For the
statement std 3 = std 1 – std 2 to work
correctly , if the overloaded –
operator must
Select correct option :
take two arguments .
None of the given choices
take single argument
take three arguments Question No . 5
Copy constructor is called when :
Select correct option :
An object is created in term of pre
existence object
An object is created
An object is initialized
None of the given
Question No. 6
Which of the following operator doesn’ t
take any argument if overloaded?
Select correct option :
/
-
+
None of the given choices
Question No. 7
Object can be declared constant with
the use of Constant keyword .
Select correct option :
True
False
Question No. 8
Always make pointer to null , whenever
dynamic memory is deleted .
Select correct option :
True
False
Question No. 9
__________ provide the facility to
access the data member.
Select correct option :
accesser function
private function
inline function
None of the given