Created
February 9, 2023 00:03
-
-
Save CarlosHenriqueDv/837b7b6db2d51a1014223abf9cd87d70 to your computer and use it in GitHub Desktop.
Produto concreto de botão windows
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
public class BotaoWindows implements Botao { | |
private final String tipoBotao = "Windows"; | |
@Override | |
public void click() { | |
System.out.println("Click " + tipoBotao); | |
} | |
@Override | |
public String tipoBotao() { | |
return "Tipo Botao: " + this.tipoBotao; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment