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