Strings are the simplest of the complex data types :) They provide several operations, such as getting the length of the string, or a substring of it..
A very good introduction to this type is available here: http://javabat.com/doc/string.html.
Este exercício foi convertido para o PLM do excelente sítio de exercícios http://javabat.com/