1.

Which of these type parameters is used for a generic methods to return and accept a number?(a) K(b) N(c) T(d) VThe question was asked in an interview for job.I'm obligated to ask this question of Generic Methods in portion Generics of Java

Answer»

Correct ANSWER is (b) N

To EXPLAIN: N is USED for Number.



Discussion

No Comment Found

Related InterviewSolutions