| 7 | import java.util.ArrayList; |
| 8 | |
| 9 | public class Alumno { |
| 10 | |
| 11 | private String nombre; |
| 12 | private ArrayList<Integer> notas; |
| 13 | |
| 14 | public Alumno(String nombre, ArrayList<Integer> notas) { |
| 15 | this.nombre = nombre; |
| 16 | this.notas = notas; |
| 17 | } |
| 18 | |
| 19 | public Alumno() { |
| 20 | } |
| 21 | |
| 22 | public String getNombre() { |
| 23 | return nombre; |
| 24 | } |
| 25 | |
| 26 | public void setNombre(String nombre) { |
| 27 | this.nombre = nombre; |
| 28 | } |
| 29 | |
| 30 | public ArrayList<Integer> getNotas() { |
| 31 | return notas; |
| 32 | } |
| 33 | |
| 34 | public void setNotas(ArrayList<Integer> notas) { |
| 35 | this.notas = notas; |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | public String toString() { |
| 40 | return "nombre=" + nombre + ", notas=" + notas + '}'; |
| 41 | } |
| 42 | |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected