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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of JavaScript and jquery?

1165


Is javascript enabled on chrome?

955


What is output of undefined * 2 in javascript?

970


What is the difference between typeof and instanceof operators in Javascript?

1221


How are tag positions used in javascript?

943


Is javascript default scripting language?

921


Explain javascript debounce function?

1094


What happens when the recursion calling is applied on two functions?

1176


Event bubbling and Event Capturing in JavScript?

1038


What is "this"?

978


Are Javascript and JScript the same?

1020


What is emotional closure?

941


How to test 404 page in QA

2557


What is undefined in math?

906


What is the difference between undefined and object?

1038