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
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is an example of genetic polymorphism?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is meant by multiple inheritance?
What is abstraction example?
How do you answer polymorphism?
What is object and class in oops?
What is the example of polymorphism?
Can we override main method?
What is the real time example of inheritance?
What is object in oop?
What is encapsulation in ict?
What is encapsulation with real life example?
What is the problem with multiple inheritance?
Why is object oriented programming so hard?