Advertisement
kazumaverdao

Untitled

May 25th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public void printFilhotes() {
  2. String nomesFilhotes = "Lista de nomes dos filhotes: \n";
  3. for (int contador = 0; contador < listaFilhotes.size(); contador++ {
  4. String nome = "\n" + listaFilhotes.getNome();
  5. nomesFilhotes += nome;
  6. }
  7. System.out.print(nomesFilhotes);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement