Which of these is an correct way of defining generic class?
(a) class name(T1, T2, …, Tn) { /* … */ }
(b) class name { /* … */ }
(c) class name[T1, T2, …, Tn] { /* … */ }
(d) class name{T1, T2, …, Tn} { /* … */ }
This question was posed to me during an interview for a job.
Asked question is from Type Interface in section Interfaces & Packages of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)