5 years ago in Java Generics

Which of these data type cannot be type parameterized?

[A] Array
[B] List
[C] Map
[D] Set
Loading...
Next Question

Overall Stats

Attempted 165
Correct 48
Incorrect 36
Viewed 81

Answers

Guest
Guest
Smile - 7 months ago

Array can not be used

PAVITHRA MANJUNATH
PAVITHRA MANJUNATH - 3 months ago

PAVITHRA MANJUNATH is saying Array is correct answer

keerthi vallabaneni
keerthi vallabaneni - 3 months ago

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

SHASHANK PANDEY
SHASHANK PANDEY - 4 months ago

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

Amrutha Sibyala
Amrutha Sibyala - 4 months ago

Amrutha Sibyala from Visakhapatnam, India is saying Map is correct answer

Related Questions

Which of the following reference types cannot be generic?

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

Which of the following cannot be Type parameterized?

  • [A] Oveloaded Methods
  • [B] Generic methods
  • [C] Class methods
  • [D] Overriding methods

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

Why are generics used?

  • [A] Generics make code more fast.
  • [B] Generics make code more optimised and readable.
  • [C] Generics add stability to your code by making more of your bugs detectable at compile time.
  • [D] Generics add stability to your code by making more of your bugs detectable at run time.