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

  • (A) Array
  • (B) List
  • (C) Tree
  • (D) Set
πŸ’¬ Discuss
βœ… Correct Answer: (A) Array
Explanation: 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”.
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”.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
261
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
98%
Success Rate