Which Of These Is An Correct Way Of Defining Generic Class #1100
Which of these is an correct way of defining generic class?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Interfaces Packages - Java Type Interface - Quiz No.1.
Which of these is an correct way of defining generic class?
class name(T1, T2, …, Tn) { /* … */ }
class name<T1, T2, …, Tn> { /* … */ }
class name[T1, T2, …, Tn] { /* … */ }
class name{T1, T2, …, Tn} { /* … */ }