Skip to content

Commit 3bb407a

Browse files
authored
クラスの章の確認問題のタイトルを修正 (#773)
1 parent 8f0896d commit 3bb407a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/2-browser-apps/03-class/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ document.write(emptyFunction()); // 値を返さない関数の戻り値は unde
6060

6161
:::
6262

63-
### 演習
63+
### 確認問題
6464

6565
`weightInTons``cost` をプロパティとして持ち、 `weightInTons` のデフォルト値が `1` であるクラス `Car` を作成し、 `cost` に好きな値を代入してみましょう。
6666

@@ -127,7 +127,7 @@ tanaka.introduceSelf();
127127

128128
:::
129129

130-
### 演習
130+
### 確認問題
131131

132132
自分自身の年齢を 1 増やすメソッド `incrementAge` を定義して、今年の自己紹介と 1 年後の自己紹介を表示してみてください。田中さんの年齢は好きな値で構いません。
133133

@@ -296,7 +296,7 @@ const tanaka = new FreshmanStudent("田中", 18, "ドイツ語");
296296
tanaka.introduceSelf(); // 私の名前は田中です。18歳です。ドイツ語選択です。
297297
```
298298

299-
### 演習
299+
### 確認問題
300300

301301
`Student` クラスを継承して `SeniorStudent` クラスを作ってみましょう。`SeniorStudent` クラスのインスタンスは `researchQuestion` プロパティを持ち、`introduceSelf` メソッドを実行すると自分の名前を出力した後に自分の研究内容を紹介するようにしてみましょう。
302302

0 commit comments

Comments
 (0)