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 / narayan prajapati

Constructor is What?
Example(Constructing Builings Or in our programing Builing
Programs)
1.It Should Have Same Class Name eg.(Fun)& Function Name eg.
(Fun)And Pass Suitable Parameters
2.Its Function Doesn't Return Value.
3.When Object is Initialize,it Directly Call.
4.constructor Works First & then When main Function work
completed the Destructor Come to work,And Clear the
Previous Data.
5.while Initializing parameters in main function,we Should
take Care Of Constructor Function Parameters eg.(If 2
parameters Are pass in constructor function then is
necessary to pass 2 parameters in main function,if not it
Will Send An Error!)

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

2967


What is the stl, standard template library?

1038


write a program to convert a decimal number in to its equivalent binary number?

2567


What is the use of stl?

1043


What is stl stand for?

1162


Is string part of stl?

1152


What is stl stack?

1070


To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command

2179


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

1895


What is stl in oop?

1165


What two types of containers does the stl provide?

939


Name the different types of stl containers.

1117


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

2168


What are the different types of stl containers?

1074


What are stl algorithms?

1115