レポート課題

Homework 1(調査課題1) Explain the difference between the reference type and the primitive type. Hint. see the section 1.3.1. "About Type".

(参照型とプリミティブ型の違いを説明しなさい。)

Homework 2(調査課題2) Explain what new operator is for. Hint. see the section 1.3.1. "About Type".

(new演算子はどのような場合に使われるか、説明しなさい。)

Homework 3(調査課題3) Explain the advantage of import keyword in Exercise 2.

(課題2にて実施したimport文はパッケージ名を直接記述して参照する方法と違って何が良いか、説明しなさい。)

Homework 4(調査課題4) Explain why the Java program cannot compare between two string objects by using ==. e.g. "Software" == "Hardware" . Hint. see the section 1.3.1. "About Type".

(文字列オブジェクトの比較として==演算子がなぜだめなのか(例: "ソフトウェア" == "ハードウェア")、調べて説明しなさい。)