Computer Science, asked by Kehkasha8065, 1 year ago

What is constructor? what are its special characteristics?

Answers

Answered by palaksharma143
2
Constructors have the same name as that of the class they belong to. Constructors are executed when an object is declared. The main function of constructor is to initialize objects and allocate appropriate memory to objects. Though constructors are executed implicitly, they can be invoked explicitly

hope it helps u plz mark as brainlist if u satisfied with the answer
Answered by narendrahainap561ng
3
bhai constructor bahut jyada parkar ke hote h tum kya padh rhe ho
Similar questions