A

Admin • 828.70K Points
Coach

Q. Generic type in java does not work with _______?

  • (A) Array
  • (B) List
  • (C) Tree
  • (D) Set
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
Generic type in java offers the flexibility to strongly caster collections. Generic types apply to “Set, List and Tree” and they do not apply to “Array”.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.