Swapping names using indexOf and substring and compareTo

Posted by dalton on Stack Overflow See other posts from Stack Overflow or by dalton
Published on 2010-04-29T19:17:18Z Indexed on 2010/04/29 21:27 UTC
Read the original article Hit count: 392

Filed under:
|
|

I am having trouble understanding how to use the indexOf() and substring() and compareTo() methods to flip people's first name with their last name in an array.

© Stack Overflow or respective owner

Related posts about java

Related posts about string