Computer Science, asked by devaprasad7758, 10 months ago

State whether the following statements are true or false:
(a) A constructor name is not the same as class name.
(b) In a class, you can have more than one constructor with the same name.
(c) Constructor does not return any value.
(d) A constructor that accepts no parameter is known as default constructor.
(e) Destructor never takes any arguments.
(f) Destructor is called automatically at the end of compound statement,
function or main program.
(g) Constructor initializes the data members of a class.

Answers

Answered by ahanmishra17
0

Answer:

All are true sentences.

Similar questions