Advertisement
hombretao

conchaCulo()

Jun 21st, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. Curso curso = new Curso( 123, "curso" );
  2.        
  3.         Alumno alumno = new Alumno( 123, "juan", "juan@mail.com", "casa de juan", 123 );
  4.        
  5.         if( curso.agregarAlumno( alumno ) )
  6.         {
  7.             System.out.println("OK");
  8.         }
  9.         else
  10.         {
  11.             System.out.println("ERROR");
  12.         }
  13.        
  14.         curso.verAlumnos();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement