Last active
November 21, 2019 00:01
-
-
Save ramon-src/9d35c929bc285188c015578d285cc543 to your computer and use it in GitHub Desktop.
Pagamento com 1 if
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 Pagamento{ | |
public void executar(String tipoPagamento) { | |
if (tipoPagamento == "Cartão de Débito"){ | |
print("debita sem taxa"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment