Q. Which Java method is used to add all of the specified elements to the specified collection?

  • (A) addValue()
  • (B) copy()
  • (C) cpy()
  • (D) addAll()
πŸ’¬ Discuss
βœ… Correct Answer: (D) addAll()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
305
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate