Computer Science, asked by jskbkgn1, 1 year ago

Write a short note on significance of constructors in oop classes

Answers

Answered by Psycho00345
2
Constructors allows us to create function with the same name as the class. advantage: they gets executed on there own when an objected of the class is created. we dnt need to call it manually like the way we call a function.
Similar questions