MCPcopy Create free account
hub / github.com/JerePrograma/FullStackEgg / Alumno

Class Alumno

Etapa3Colecciones/Ejercicio3/src/entidad/Alumno.java:9–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import java.util.ArrayList;
8
9public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected