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

Answers were Sorted based on User's Feedback



What is Constructor..

Answer / biswajit rout

Constructor is a special type of member function which
never returns any value.It is mainlly used for
initilazation of data member(s).It can only invoked by the
creation of the object of the respective class.constructor
can very well use AccessSpecifier.
constructor can very well overloaded but it can not be
overridden.

Is This Answer Correct ?    1 Yes 0 No

What is Constructor..

Answer / dipankar gain

constructor is just like a method(a function in C/C++) which
is called before the object of the class is created.
Generally you dont need to give the constructor in the class
definition but if you want to do something like initializing
variables, starting a connection, connect to the database,
then you should use the constructors.
If you dont include the constructor in your class, then the
java compiler puts it for you, its called the default
constructor.

Is This Answer Correct ?    0 Yes 0 No

What is Constructor..

Answer / ada

Constructor creates an object and initializes it. It also
creates vtable for virtual functions. It's different from
other methods in a class.

Is This Answer Correct ?    17 Yes 22 No

What is Constructor..

Answer / raj

contructor is construct which is construct
something................

Is This Answer Correct ?    6 Yes 16 No

Post New Answer

More STL Interview Questions

Write a program in C/C++ to implement reader- writer problem

1 Answers   Wipro,


What is the underlying datastructure of map?

5 Answers   BIA, Siemens,


What are the different types of stl containers?

0 Answers  


What is the stl, standard template library?

0 Answers  


sir please send me bpcl previous question papers

0 Answers   BPCL Bharat Petroleum,


Explain when u will use Observer pattern and how u will implement in c++ .

1 Answers  


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

0 Answers   Appin, NIIT,


if x<>=z then statement end what is the cyclomatic complexity

5 Answers  


Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

0 Answers  


what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

2 Answers  


What does stl stand for in basketball?

0 Answers  


Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"

2 Answers  


Categories