Q. Which of the following methods is used to extract the length of a string in Java?

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
457
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate