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

Answers were Sorted based on User's Feedback



what is the usage of clas templates..

Answer / 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

what is the usage of clas templates..

Answer / anil kumawat

through this we can make generic function. so this function
will work for any data type.

Is This Answer Correct ?    3 Yes 0 No

what is the usage of clas templates..

Answer / anil bisht

A template is a C++ feature that allows functions and
classes to be defined with any type.Class template is a
template used to generate template classes. You cannot
declare an object of a class template.Template class is an
instance of a class template.

Is This Answer Correct ?    3 Yes 0 No

what is the usage of clas templates..

Answer / james prasanna.j

We can able to operate "class template" functionalities in
generic way, which supports different data types.

Is This Answer Correct ?    3 Yes 2 No

what is the usage of clas templates..

Answer / keshav.gadde

Template is a mechanism that allows one function or class to
deal with diffrent data types.
Using templates we can design a template class that operates on
diffrent data types.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More OOPS Interview Questions

what is the main difference between c and c++?

386 Answers   AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,


What is overriding in oop?

0 Answers  


what is the function of 'this' operator ?

7 Answers   Wipro,


how to swap the variables without using temp and operators

1 Answers  


Difference between over loading and over ridding?

12 Answers   CTS, Patni, Softvision Solution,


Why do we use oop?

0 Answers  


difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


What is new keyword in oops?

0 Answers  


What are two types of polymorphism?

0 Answers  


How to create a comment page in C #??

2 Answers  


How would you stop a class from class from being derived or inherited.

18 Answers   Ness Technologies,


why overriding?

3 Answers  


Categories