Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafio POO #69

Open
Sanxpher opened this issue Jul 29, 2024 · 0 comments
Open

Desafio POO #69

Sanxpher opened this issue Jul 29, 2024 · 0 comments

Comments

@Sanxpher
Copy link

image

JAVA

public class iPhone {
public void tocar() {
System.out.println("Tocando música...");
}

public void pausar() {
    System.out.println("Pausando música...");
}

public void selecionarMusica(String   

musica) {
System.out.println("Selecionando música: " + musica);
}

public void ligar(String numero) {
    System.out.println("Ligando para: " + numero);
}

public void atender()   

{
System.out.println("Atendendo chamada...");
}

public void iniciarCorreioVoz() {
    System.out.println("Iniciando correio de voz...");
}

public void exibirPagina(String url) {
    System.out.println("Exibindo página: " + url);
}

public void adicionarAosFavoritos()   

{
System.out.println("Adicionando página aos favoritos...");
}

public void atualizarPagina() {
    System.out.println("Atualizando página...");
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant