Skip to content

Commit 3ec5342

Browse files
feat(practicaLineUp): 'Banda' class was updated
'nombreBanda' variable was added
1 parent a65ca98 commit 3ec5342

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

practicaLineUp/src/Banda.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@
77
*/
88

99
public class Banda {
10-
10+
11+
private String nombreBanda;
1112
private ArrayList<Artista> integrantesBanda;
1213

1314
/**
1415
* This constructor give us the members of the band
1516
*
1617
* @param integrantesBanda Contains the members of the band
1718
*/
18-
public Banda(ArrayList<Artista> integrantesBanda){
19+
public Banda(ArrayList<Artista> integrantesBanda, String nombreBanda){
20+
this.nombreBanda = nombreBanda;
1921
this.integrantesBanda = integrantesBanda;
2022
}
2123

0 commit comments

Comments
 (0)