Q. Which method is used to add an element to the end of an ArrayList in Java?

  • (A) addElement()
  • (B) insertElement()
  • (C) append()
  • (D) add()
πŸ’¬ Discuss
βœ… Correct Answer: (D) add()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
142
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ram Avtar Sharma
Publisher
πŸ“ˆ
88%
Success Rate