What is a template?

Answer Posted / yughandhar

templates r used to create generic classes and functions.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is there any choice in opting subjects like 4 out of 7

1822


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1242


What is polymorphism in oop example?

620


Is abstract thinking intelligence?

686


What are the 3 pillars of oop?

726






What is polymorphism and why is it important?

651


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1750


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1488


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(); }

2077


Why is oop better than procedural?

699


How do you define social class?

680


What is polymorphism what are the different types of polymorphism?

648


What is the full form of oops?

783


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1750


What are different oops concepts?

669