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...

How to stop conversions among objects?

Answer Posted / kavitha

If any situation like that the constructor should build the
objects and should not get used for carrying out
conversions, In that situation we are required to use the
explicit keyword with the constructor.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between function overloading and operator overloading?

1180


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

2369


Write about the scope resolution operator?

1077


What is the best way to declare and define global variables?

1416


Difference between Abstraction and encapsulation in C++?

1212


What methods can be overridden in java?

1346


What is exception handling? Does c++ support exception handling?

1084


Why do we use iterators?

1132


What are the advantage of using register variables?

1209


Why do we use constructor?

1115


How delete [] is different from delete?

1053


Explain one method to process an entire string as one unit?

1663


Why do we need pointers?

1059


What is the type of this pointer in c++?

1112


Is c++ a programming language?

1141