Strings are such an important type of data that we have to deal with almost in each program. So what do we usually do with strings?
B. Common string operations
String variables and literals
4+7+"Hi" vs "Hi"+4+7
String length and index: length()
a character of a string: charAt();
Search for a substring: indexOf(), lastIndexOf(), contains()
compare strings: compareTo()