Javaでは、クラスを定義しそこからオブジェクトを生成する事が出来ます。
手間が増えるだけのようにも見えますが、クラスを用いると同じ定義の別の関数や変数を使用する際に、複製や一部を利用する事が出来るので便利です。
Go to list of users who liked
Javaでは、クラスを定義しそこからオブジェクトを生成する事が出来ます。
手間が増えるだけのようにも見えますが、クラスを用いると同じ定義の別の関数や変数を使用する際に、複製や一部を利用する事が出来るので便利です。
Register as a new user and use Qiita more conveniently
Go to list of users who liked