Select correct option :
Static
Constant
Virtual
Both Constant and Virtual
Question # 2 of 10 ( Start time:
06 :38 :16 PM ) Total Marks: 1
If you do not initialize static variable
of int type then it is automatically
initialized with _________ .
Select correct option :
0
1
Null
None of the given
Question # 3 of 10 ( Start time:
06 :38 :43 PM ) Total Marks: 1
If we are create array of objects
through new operator, then
Select correct option :
We can call overloaded constructor
through new
We can ’ t call overloaded constructor
through new
We can call default constructor
through new
None of the given
Question # 4 of 10 ( Start time:
06 :38 :59 PM ) Total Marks: 1
The sub - object ’ s life is not dependant
on the life of master class in
___________ .
Select correct option :
Composition
Aggregation
Seperation
non of the given
Question # 5 of 10 ( Start time:
06 :39 :27 PM ) Total Marks: 1
In _____________ ,a pointer or
reference to an object is created inside
a class.
Select correct option :
Aggregation
Composition
Seperation
None of the given
Consider the call given below of an
overloaded operator " + " ,
Rational _ number _ 1 +
Rational _ number _ 2 Where
Rational _ number _ 1 and
Rational _ number _ 2 are the two objects
of Rational _ number class (a user
defined class ). Identify which of the
above two objects will be passed as an
argument to the overloaded operator
function ?
Rational _ number _ 1
None of the given choices
Both Rational _ number _ 1 &
Rational _ number _
any of the two objects , randomly
Question # 7 of 10 ( Start time:
06 :40 :33 PM ) Total Marks: 1
Copy constructor is called when :
Select correct option :
An object is created .
An object is created in term of pre
existing object.
An array of objects is created .
An object is deleted .
Question # 8 of 10 ( Start time:
06 :40 :48 PM ) Total Marks: 1
Static member can not be called with
the class name .
Select correct option :
True
False
Question # 9 of 10 ( Start time:
06 :41 :16 PM ) Total Marks: 1
________ and ______ methods can not
be declared virtual .
Select correct option :
Private, Static
Private, Public
Static ,Public
None of the given
Question # 10 of 10 ( Start time :
06 :41 :39 PM ) Total Marks: 1
Class is not a mechanism to create
objects and define user data types .
Select correct option :
True
False