5 years ago in Java Generics

Which of these type parameters is used for a generic class to return and accept any type of object?

[A] K
[B] N
[C] T
[D] V
Loading...
Next Question

Overall Stats

Attempted 188
Correct 69
Incorrect 41
Viewed 78

Answers

Guest
Guest
Laya
Laya - 2 months ago

Laya from Hyderabad, India is saying N is correct answer

Mahendra Pahadiya
Mahendra Pahadiya - 2 months ago

Mahendra Pahadiya is saying T is correct answer

keerthi vallabaneni
keerthi vallabaneni - 3 months ago

keerthi vallabaneni from Nellore, India is saying T is correct answer

Mounesh Pattar
Mounesh Pattar - 3 months ago

Mounesh Pattar from Bengaluru, India is saying T is correct answer

SHASHANK PANDEY
SHASHANK PANDEY - 4 months ago

SHASHANK PANDEY from Pune, India is saying T is correct answer

Related Questions

Which of the following is incorrect statement regarding the use of generics and parameterized types in Java?

  • [A] Generics provide type safety by shifting more type checking responsibilities to the compiler.
  • [B] Generics and parameterized types eliminate the need for down casts when using Java Collections.
  • [C] When designing your own collections class (say, a linked list), generics and parameterized types allow you to achieve
  • [D] All of the mentioned

Which of these instance cannot be created?

  • [A] Integer instance.
  • [B] Generic class instance.
  • [C] Generic type instance.
  • [D] Collection instances.

Which of the following allows us to call generic methods as a normal method?

  • [A] Type Interface
  • [B] Interface
  • [C] Inner class
  • [D] All of the mentioned

Which of the following reference types cannot be generic?

  • [A] Anonymous inner class
  • [B] Interface
  • [C] Inner class
  • [D] All of the mentioned