Antes de tudo eu queria deixar claro que:
Eu não morri!
Troquei de emprego e tenho novos projetos.
Agora vamos ao que interessa.
Percorrer uma string em java é simples.
String str = new String("Java");
for(int i = 0; i < str.length(); i++)
System.out.println(str.charAt(i));
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.