Commit ac57ad76 authored by jose.alencastro's avatar jose.alencastro

ok

parent 2be2969d
abstract public class Shape { abstract public class Shapes {
protected int size; protected int size;
...@@ -9,12 +9,12 @@ abstract public class Shape { ...@@ -9,12 +9,12 @@ abstract public class Shape {
public int getSize() { return size; } public int getSize() { return size; }
public void setSize(int size) { this.size = size; } public void setSize(int size) { this.size = size; }
public Shape(){ public Shapes(){
this.size = 3; this.size = 3;
} }
public Shape(int size){ public Shapes(int size){
this.size = size; this.size = size;
} }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment