Question: please explain these string methods in java and provide examples char charAt ( int index ) int indexOf ( char ch ) int indexOf (

please explain these string methods in java and provide examples
char charAt (int index)
int indexOf (char ch)
int indexOf (char ch, int pos)
int indexOf (String str)
int ndexOf (String str, int pos)
String concat (String str)
String replace (char charToBeReplaced, char charReplacedWith)
String substring (int beginIndex)
String substring (int beginIndex, int endIndex)
String toLowerCase()
String toUppercase()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!