Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package aula.est;
- public class TesteAdicionaNoFim {
- public static void main(String[] args) {
- Aluno a1 = new Aluno();
- Aluno a2 = new Aluno();
- a1.setNome("Rafael");
- a2.setNome("Paulo");
- Vetor lista = new Vetor();
- lista.adiciona(a1);
- lista.adiciona(a2);
- System.out.println(lista);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement