For the test, you will be responsible for knowing the following String methods:
Javabat.com has a bunch of practice problems. Feel free to do them all, but in terms of covering these methods, the following problems should suffice:
Here is a problem for charAt (Yes, it can be written using substring, but try charAt so you can learn it):
Write a method firstLast that concatenates the first and last letters of a word. A word is guaranteed to be at least length 1. Examples:
firstLast("cows") --> "cs" firstLast("toasterhead") --> "td" firstLast("x") --> "xx"