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

When is a template better solution than a base class??

Answer Posted / faruk

1.when you are designing a generic class to contain or otherwise manage objects of other types.
2.when the format and behaviour of those other types are unimportant to their containment or management.
3.particularly when those other types are unknown.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the features of oops in c++?

1051


What are the 2 main types of data structures?

1124


What is an associative container in c++?

1072


Explain static and dynamic memory allocation with an example each.

1109


What is the main function c++?

1130


Explain about vectors in c ++?

1032


Define the process of error-handling in case of constructor failure?

1016


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

981


Is c++ the best programming language?

1022


Write a program to add three numbers in C++ utilizing classes.

1119


What is meaning of in c++?

1218


what you know about c++?

1159


What is & in c++ function?

1064


What is a wchar_t in c++?

1142


What is c++ vb?

1100