実験課題8

Exercise 8(課題8) See the section 4.8.1. "Inheritance". Show the execution result of Figure 27 and Figure 28 as a screenshot. Further, explain the execution order of each constructor in classes. Follow instructions below to show the result.

  1. create the Java application project named chapter4kadai8.
  2. create main method to run the program.
  3. take the screenshot of the execution result.

(4.8.1.節をよく読み、プロジェクトchapter4kadai8を作成し、図27、図28のプログラムとコンストラクタを呼び出すmainメソッドを作成した上で実行し、コンストラクタの実行順序を説明した上でスクリーンショットを報告しなさい。)