Skip to content

Commit 272f3dc

Browse files
feat(practicaLineUp): Persona class was modified
'nombre' variable was added
1 parent e24f08c commit 272f3dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

practicaLineUp/src/Persona.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66

77
public class Persona {
88

9+
private String nombre;
10+
911
/**
1012
* This constructor give us the name of the person
1113
*
1214
* @param nombre
1315
*/
1416
public Persona(String nombre){
17+
this.nombre = nombre;
1518
}
1619
}

0 commit comments

Comments
 (0)