Created
August 6, 2013 01:21
-
-
Save marciojrtorres/6161222 to your computer and use it in GitHub Desktop.
Comentários irrelevantes: explicando o óbvio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Cliente { | |
int codigo; // código do cliente | |
String nome; // nome do cliente | |
// construtor padrão | |
public Cliente() { | |
} | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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