There was an error while loading. Please reload this page.
1 parent a65ca98 commit 3ec5342Copy full SHA for 3ec5342
practicaLineUp/src/Banda.java
@@ -7,15 +7,17 @@
7
*/
8
9
public class Banda {
10
-
+
11
+ private String nombreBanda;
12
private ArrayList<Artista> integrantesBanda;
13
14
/**
15
* This constructor give us the members of the band
16
*
17
* @param integrantesBanda Contains the members of the band
18
- public Banda(ArrayList<Artista> integrantesBanda){
19
+ public Banda(ArrayList<Artista> integrantesBanda, String nombreBanda){
20
+ this.nombreBanda = nombreBanda;
21
this.integrantesBanda = integrantesBanda;
22
}
23
0 commit comments