Commit 9e6371b0 authored by nargessalehi98's avatar nargessalehi98

Add getName method.

parent 6d282486
...@@ -31,6 +31,10 @@ public class Prize { ...@@ -31,6 +31,10 @@ public class Prize {
return width; return width;
} }
public String getName() {
return name;
}
public int getHeight() { public int getHeight() {
return height; return height;
} }
......
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