Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PrincesaModerna extends Princesa{
- private String numeroWhats;
- public PrincesaModerna(String numeroWhats, String nome, String fadaMadrinha, String corCabelo, int anoNascimento, String encontrouPrincipe) {
- super(nome, fadaMadrinha, corCabelo, anoNascimento, encontrouPrincipe);
- this.numeroWhats = numeroWhats;
- }
- public String getNumeroWhats() {
- return numeroWhats;
- }
- public void setNumeroWhats(String numeroWhats) {
- this.numeroWhats = numeroWhats;
- }
- @Override
- public void chorar() {
- System.out.println("Só choro quando meu Crush visualiza a mensagem e não responde!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement