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