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 graphics

2516


Plese get me a perfect C++ program for railway/airway reservation with all details.

3955


Is oop better than procedural?

1088


What is property in oops?

1132


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2203


Is abstract thinking intelligence?

1109


What is this pointer in oop?

1126


What is new keyword in oops?

1099


What is the renewal class?

2823


What is pure oop?

1168


What is the diamond problem in inheritance?

1200


Why is abstraction needed?

1095


Can a varargs method be overloaded?

1157


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2455


What are oops methods?

1075