Add modifikatoren stub

This commit is contained in:
Henri Burau
2020-05-05 15:22:03 +02:00
parent 827f01dfba
commit d637468120
3 changed files with 24 additions and 2 deletions

View File

@ -21,13 +21,13 @@ class Shape {
}
}
class Rectangle {
class Rectangle extends Shape {
public String toString() {
return "Rectangle";
}
}
class Circle {
class Circle extends Shape {
public String toString() {
return "Circle";
}