Q. Which method is used to extract a substring from a string in Java?

  • (A) extractSubstring()
  • (B) getSubstring()
  • (C) substring()
  • (D) extract()
πŸ’¬ Discuss
βœ… Correct Answer: (C) substring()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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