We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d1898f commit e8dbab8Copy full SHA for e8dbab8
docs/2-browser-apps/03-class/index.mdx
@@ -425,9 +425,9 @@ currentTime.textContent = getCurrentTime();
425
426
### 図形クラス
427
428
-色を表す `color` プロパティと、面積を求める `calculateArea` メソッドを持つ `Shape` クラスを実装してみましょう。
+色を表す `color` プロパティを持つ `Shape` クラスを実装してみましょう。
429
430
-そして、`Shape` クラスを継承する `Rectangle` (長方形) クラス、`Square` (正方形) クラス、`Circle` (円) クラスを実装してみましょう。
+そして、`Shape` クラスを継承し、面積を求める `calculateArea` メソッドを持つような、`Rectangle` (長方形) クラス、`Square` (正方形) クラス、`Circle` (円) クラスを実装してみましょう。また、この 3 つのクラスの間のどこで継承関係を作ればいいか考えてみましょう。
431
432
<Answer title="図形クラス">
433
0 commit comments