Skip to content

Commit 72667d8

Browse files
feat(practicaLineUp): Artista class was modified
setters and getter were added
1 parent 3607b59 commit 72667d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

practicaLineUp/src/Artista.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,11 @@ public Artista(String nombre, String rol){
1919
this.rol = rol;
2020
}
2121

22+
public String getRol() {
23+
return rol;
24+
}
25+
26+
public void setRol(String rol) {
27+
this.rol = rol;
28+
}
2229
}

0 commit comments

Comments
 (0)