Skip to content

Commit 9fa333f

Browse files
Herencia
Hererencia see also: resolves:
1 parent 01fc131 commit 9fa333f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Herencia/src/domain/Persona.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
/*
2-
* To change this license header, choose License Headers in Project Properties.
3-
* To change this template file, choose Tools | Templates
4-
* and open the template in the editor.
5-
*/
61
package domain;
72

8-
/**
9-
*
10-
* @author brian
11-
*/
123
public class Persona {
4+
protected String nombre; // tiene acceso las clases hijas
5+
protected char
6+
137

148
}

0 commit comments

Comments
 (0)