Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String modalidade;
- Ambiente ambiente;
- boolean erro = true;
- while (erro) {
- System.out.println("Digite o Esporte:");
- modalidade = in.nextLine();
- System.out.println("Digite o Ambiente:");
- ambiente=new Ambiente();
- in.nextLine();
- adm.inserirEsporte(new Esporte(modalidade, ambiente));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement