Any two characteristics of constructor functions?
Answers
Answered by
1
Same name as that of class
Ley1:
Used to initial the data members of the objects with a legal initial value
Answered by
1
1 it has the same name as the class
2 it is used to initialize the values of the objects of the class
2 it is used to initialize the values of the objects of the class
Similar questions