The API doc address: Java Platform SE 6
Scroll down in the lower left for the String class.
Type: Posts; User: Norm
The API doc address: Java Platform SE 6
Scroll down in the lower left for the String class.
Look at the methods of the String class such as indexOf(). The equals() method isn't the one to use here.
you need to have two loops: one to look at each name and within that loop, another loop to...