Q19
How do you find the last index of a specified character in a string in Java?
A.
str.lastIndexOf(char)
AnswerB.
str.indexOf(char)
C.
str.findLast(char)
D.
str.search(char)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board