A developer has declared a variable of type String named StrVar and assigned it the value “UIPATH STUDIO”. What is the output of the expression, StrVar.LastIndexOf(“U”)?
Answer should be C.
When you use the LastIndexOf function in the "UIPATH STUDIO", it will return the index of the last occurrence of the character "U". Since indexing is 0 based, the position is 9.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
iboshow
12 months agoRashaAlqahtani
1 year, 2 months agoDari1342
1 year, 3 months ago