Computer Science, asked by BrainIyCreator, 12 hours ago

What is the use of lastIndexOf in java ?​

Answers

Answered by itzmecutejennei
4

Answer:

The lastIndexOf() method returns the position of the last occurrence of specified character(s) in a string. Tip: Use the indexOf method to return the position of the first occurrence of specified character(s) in a string.

Answered by gnk04
8

The lastIndexOf() method returns the position of the last occurrence of specified character(s) in a string. Tip: Use the indexOf method to return the position of the first occurrence of specified character(s) in a string.

Are you Rudra..!?

Nice to meet you friend..

hope this answer helps you..

please help me by marking me brainliest..

Similar questions