Interviews3 answers
What is a constructor?
3 Answers
When we mark a method as the name class then it is called constructer
It provides memory to objects of class
Mukesh KumarPosted Aug 31, 2017, 5:54 AM EDT
constructor is a keyword
which provide mm to class at run time
Mukesh KumarPosted Aug 28, 2017, 5:18 AM EDT
constructor is a special member fuction of a class which invoke automatically while object of a class get created
Sandeep KumarPosted Jun 16, 2016, 1:11 AM EDT

