what is the use of template classes in c++
Answer / ags
Templates are used to avoid the repetition of similar
functions in any class.
Is This Answer Correct ? | 6 Yes | 0 No |
why the argument is passed by reference to a copy constructor?example?
What is polymorphism what is it for and how is it used?
When will a constructor executed?
What is abstraction oop?
What is an advantage of polymorphism?
What are the components of marker interface?
What is object in oops?
When is an object created and what is its lifetime?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
Why do we use virtual functions?
What is multilevel inheritance?
What is ambiguity in inheritance?