Fill in the blanks:
(a) A constructor name is the same as ....................
(b) A constructor is executed automatically when an object is .....................
(c) Destructor is executed .................... at the end of the program.
(d) A class can have any number of constructors but only ....................
destructor at a time.
(e) The name of the destructor function is same as that of class but preceded
with a symbol ....................
(f) The constructor which accepts value from outside is called ....................
constructor.
Answers
Answered by
0
Answer:
A Class name
B Called for execution
C After the objects scope
D One
E Tilde symbol
F Parameterised constructor
This is a part of ICSE I suppose!
Best of luckk ✌
Similar questions