This commit is contained in:
2025-01-13 03:59:28 +03:00
parent a5b35aabb3
commit aea61f2076
14 changed files with 194 additions and 0 deletions

13
test/Orange.java Normal file
View File

@ -0,0 +1,13 @@
public class Orange extends Cat
{
private int weight = 5;
public Orange (String name) {
super(name, "Orange");
}
public int Weight() {
return weight;
}
}