Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marciojrtorres/6161222 to your computer and use it in GitHub Desktop.
Save marciojrtorres/6161222 to your computer and use it in GitHub Desktop.
Comentários irrelevantes: explicando o óbvio
class Cliente {
int codigo; // código do cliente
String nome; // nome do cliente
// construtor padrão
public Cliente() {
}
// ...
// para cada empréstimo dos emprestimos
for (Emprestimo e : emprestimos) {
report.add(e);
if (report.hasErrors()) {
break; // sai do for
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment