Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Curso curso = new Curso( 123, "curso" );
- Alumno alumno = new Alumno( 123, "juan", "juan@mail.com", "casa de juan", 123 );
- if( curso.agregarAlumno( alumno ) )
- {
- System.out.println("OK");
- }
- else
- {
- System.out.println("ERROR");
- }
- curso.verAlumnos();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement