difference between CharAt and substring
charu364431:
why
Answers
Answered by
1
Thursday, 26 April 2018
String charAt() And substring() Methods in Java
If you are trying to get characters and substrings by index with in a String in Java then charAt() and substring() methods respectively can be used.
If you are looking for methods to compare string in java using methods like startsWith(), endsWith(), equals() refer String comparison in Java
Similar questions