Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is constructor?



What is constructor? ..

Answer / susheel kumar

A constructor is a special type of member function for
automatic initialization of an object.
when ever an object is created the constructor will be
executed automatically.
the name of constructor same as that of its class.the
constructor is declared with no return type,not even void.
constructor should be declared in the public section most
of the time.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is the difference between innerhtml and append() in javascript?

0 Answers  


What is the use of spread operator?

0 Answers  


Can you pass a anonymous function as an argument to another function?

0 Answers  


What is singleton class in javascript? Explain

0 Answers  


How do I enable cookies and javascript?

0 Answers  


Is jquery easier than javascript?

0 Answers  


What is constructor?

1 Answers  


What are all the looping structures in javascript?

0 Answers  


How do I retrieve a cookie with a given name using a regular expression?

0 Answers  


How do you change the style/class on any element using javascript?

0 Answers  


What are self Executing Functions?

0 Answers  


How to shift and unshift using javascript?

0 Answers  


Categories