Q. How do you find the first index of a specified character in a string in Java?
β
Correct Answer: (D)
str.indexOf(char)
You must be Logged in to update hint/solution