Which Among The Following Is The Proper Syntax For The Template #407
Which among the following is the proper syntax for the template class?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Classes - Object Oriented Programming MCQ: Template Class - Quiz No.1.
Which among the following is the proper syntax for the template class?
template <typename T1, typename T2>;
Template <typename T1, typename T2>;
template <typename T> T named(T x, T y){ }
Template <typename T1, typename T2> T1 named(T1 x, T2 y){ }