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
What is the example of polymorphism?
How do you explain polymorphism?
What is meant by oops concept?
What is pointer in oop?
What is oops with example?
What is polymorphism oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
What are the components of marker interface?
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
What is debug class?what is trace class? What differences are between them? With examples.
Who invented oop?
What is inheritance and how many types of inheritance?
What is the oops and benefits of oops programming?
How do you achieve runtime polymorphism?
What is interface? When and where is it used?