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

Is javascript case sensitive language?

0 Answers  


What are the characteristics of javascript ‘strict mode’?

0 Answers  


What are the advantages of javascript?

0 Answers  


Why are callbacks used?

0 Answers  


How many functions are there in javascript?

0 Answers  


Explain export & import in javascript?

0 Answers  


How much does a javascript developer make?

0 Answers  


How many types of functions JavaScript supports?

0 Answers  


How can you get the total number of arguments passed to a function?

0 Answers  


Explain function hoisting in javascript?

0 Answers  


What is strict mode?

0 Answers  


Who introduced javascript?

0 Answers  


Categories