5 years ago in Java Generics

Which collection class allows you to grow or shrink its size and provides indexed access to its elements, but whose methods are not synchronized?

[A] java.util.HashSet
[B] java.util.LinkedHashSet
[C] java.util.List
[D] java.util.ArrayList
Loading...
Next Question

Overall Stats

Attempted 124
Correct 38
Incorrect 32
Viewed 54

Answers

Guest
Guest
keerthi vallabaneni
keerthi vallabaneni - 3 months ago

keerthi vallabaneni from Nellore, India is saying java.util.LinkedHashSet is correct answer

SHASHANK PANDEY
SHASHANK PANDEY - 4 months ago

SHASHANK PANDEY from Pune, India is saying java.util.ArrayList is correct answer

Guriqbal Singh
Guriqbal Singh - 6 months ago

Guriqbal Singh from Chandigarh, India is saying java.util.ArrayList is correct answer

Amrit Agrawal
Amrit Agrawal - 9 months ago

Amrit Agrawal from Bengaluru, India is saying java.util.LinkedHashSet is correct answer

Amar Deep
Amar Deep - 10 months ago

Amar Deep from Panipat, India is saying java.util.LinkedHashSet is correct answer

Related Questions

Which of these Exception handlers cannot be type parameterized?

  • [A] catch
  • [B] throw
  • [C] throws
  • [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

Which of these instance cannot be created?

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