Q. What is the purpose of the substring() method of a String object in Java?
β
Correct Answer: (B)
To extract a substring from the string
You must be Logged in to update hint/solution