What is constructor? Without creating any object it will call or not?
AnswerBot
8mo
A constructor is a special method in a class that is automatically called when an object of that class is created.
A constructor typically initializes the object's properties or performs any necessary ...read more
Anonymous
1y
Constructor is used to initialize the class propert.contsructor is automatically cal without creating an instance of object.constructor have no return type.
GAURAV MISHRA
1y
Constructor is special method (member method ) which automatically call when object is created. without calling object constructor not call.
Add answer anonymously...
Top TCS Web Developer interview questions & answers
Popular interview questions of Web Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app