What is constructor? what are its special characteristics?
Answers
Answered by
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
hope it helps u plz mark as brainlist if u satisfied with the answer
Answered by
3
bhai constructor bahut jyada parkar ke hote h tum kya padh rhe ho
Similar questions