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 the usage of clas templates

Answer Posted / saurabh chauhan

templates are used to create generic functions as well as
classes..which can support miltiple data types..
they are mainly used when algorithm is commom for diff data
types...so we dont hav to implement again and again for
diff data types ..we make a generic func. which works for
all...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of polymorphism?

1024


How do you explain polymorphism?

1014


What is meant by oops concept?

990


What is pointer in oop?

969


What is oops with example?

997


What is polymorphism oop?

1008


explain sub-type and sub class? atleast u have differ it into 4 points?

2256


What are the components of marker interface?

997


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

3174


What is debug class?what is trace class? What differences are between them? With examples.

2134


Who invented oop?

1065


What is inheritance and how many types of inheritance?

1041


What is the oops and benefits of oops programming?

926


How do you achieve runtime polymorphism?

994


What is interface? When and where is it used?

2106