Created
August 6, 2013 00:23
-
-
Save marciojrtorres/6160902 to your computer and use it in GitHub Desktop.
Nomes no Infinitivo vs Imperativo
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 Mensagem { | |
void envia() { ... } | |
} | |
class Documento { | |
void imprime() { ... } | |
} | |
// situação de uso: | |
Documento documento = new Documento(); | |
documento.imprime(); |
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 Mensagem { | |
void enviar() { ... } | |
} | |
class Documento { | |
void imprimir() { ... } | |
} | |
// situação de uso: | |
Documento documento = new Documento(); | |
documento.imprimir(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment