Computer Science, asked by harshmahnot006, 8 months ago

Part A : Objective Type Questions
A constructor is automatically called (invoked) when the object is
(b) created
(c) called
(a) destroyed
A constructor will have
(d) none of these
(a) name of class
(b) no return type
(c) both a & b
A constructor is used for
(d) none of these
... the data members of an object when it is created with legal initial va
(a) initialising
(b) destroying
(c) simplifying
A default constructor takes
(d) none of these
parameters.
(a) many
(b) two
(c) one
(d) zero
When more than a single constructor exists within a single class it is known as
(a) constructor overloading
(b) function overloading
(c) constructor overhauling
(d) constructor overbearing
keyword is used within a constructor to refer to the current object.
(a) public
(b) class
(c) this
(d) new
A constructor that takes ........
parameters is called parameterised constructor.
a) zero
(b) one
(c) more
(d) (b) or (c)
constructor declared as ...... ...... can not be accessed outside the class.
a) public
(b) private
(c) protected
(d) static
constructor definition, the parameters list refers to
... arguments.
.) actual
(b) formal
(c) real
(d) none of these
..... constructor
constructor generated by compiler itself is called
(d) all of these
) parameterised
(c) copy constructor
(b) default
ostly, a constructor is declared as
(c) protected
(d) none of thes
public
(b) private
simple constructor is created using
(c) public
(d) none of thes
new operator
(b) class​

Answers

Answered by OmLNGupta
0

Answer:

Part A : Objective Type Questions

A constructor is automatically called (invoked) when the object is

(b) created

(c) called

(a) destroyed

A constructor will have

(d) none of these

(a) name of class

(b) no return type

(c) both a & b

A constructor is used for

(d) none of these

... the data members of an object when it is created with legal initial va

(a) initialising

(b) destroying

(c) simplifying

A default constructor takes

(d) none of these

parameters.

(a) many

(b) two

(c) one

(d) zero

When more than a single constructor exists within a single class it is known as

(a) constructor overlo he

dud.mxy amn bs.

hx k

Similar questions