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

How do you disable javascript?

916


Why do we need hoisting in javascript?

886


Is javascript array dynamic?

912


How many days it will take to learn javascript?

905


What are the different objects used in javascripts?

957


Can you give an example showing javascript hoisting?

859


What is data type in javascript?

984


What is the statement to enable strict mode in javascript quiz?

1070


How do you access an element in an HTML document with JavaScript?

1005


what is a dataset

2125


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

914


How to manage exception handling in javascript?

991


What is scope variable in javascript?

1060


How do you check if a string is a number javascript?

944


What are parameters in javascript?

976