Answer Posted / rakesh kumar
Templates is one of the features added to c++ recently.a
template can be considered as a kind of macro.
Templates are mainely used for creating the generic classes
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
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).
Why do we use polymorphism in oops?
What are the 5 oop principles?
What is oops and why we use oops?
What is polymorphism give a real life example?
What is polymorphism and its types?
What are properties in oop?
What is and I oop mean?
Why we use classes in oop?
Can we create object of interface?
How is class defined?
Why do we use class?
Write a program to reverse a string using recursive function?
When not to use object oriented programming?