feat(ch 7): reorganised

This commit is contained in:
Rafa Muñoz
2025-01-21 10:13:10 +01:00
parent ed4fa3294a
commit 2fbd405616
34 changed files with 122 additions and 46 deletions

View File

@@ -0,0 +1,24 @@
package tutorialJava.capitulo7_Recursos.ejemplo03_excepciones;
public class Pierna {
public static int DERECHA = 0;
public static int IZQUIERDA = 1;
protected int tipo;
public Pierna(int tipo) {
super();
this.tipo = tipo;
}
public int getTipo() {
return tipo;
}
public void setTipo(int tipo) {
this.tipo = tipo;
}
}