What is the difference of indexOf and last IndexOf method?
Answers
Answered by
4
The only basic difference between them is that indexOf returns the first index number of occurance of a given character in a String. While in the case of lastIndexOf the last index where a given character occurs in a String is returned.......
Similar questions