InterviewSolution
Saved Bookmarks
| 1. |
The function lastIndexOf() is used to ___________________(a) Get the index of last occurrence of specified character in argument(b) Get the index of first occurrence of specified character in argument(c) Get the index of last occurrence of first character in string(d) Get the index of last occurrence of last character of stringThis question was addressed to me by my school teacher while I was bunking the class.This question is from String Class topic in portion Inbuilt Classes of Object Oriented Programming |
|
Answer» Right choice is (a) Get the INDEX of last OCCURRENCE of specified character in argument |
|