Q. Which method is used to find the length of an array in Java?

  • (A) length()
  • (B) size()
  • (C) getSize()
  • (D) length
πŸ’¬ Discuss
βœ… Correct Answer: (D) length

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
87%
Success Rate