English, asked by ritikautkhede545, 3 months ago

Which one is true about a
constructor ?
2 points
O
A constructor must have the same name
as the class it is declared within.
O A constructor is used to create objects.
O A constructor may be declared private
O All of the above​

Answers

Answered by Vivienne0123
0

(2) A contructor is used to create objects.

Hope it is an right answer.

Answered by Gajananbhise858
3

all of the above

hope it helps u

Similar questions