0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

java

Posted at

今日分かったこと

なぜ配列の時にnewを使うのか

ポイント
-配列が参照型変数であること
new int a[5]で初めてメモリに領域が確保。

c言語ではやったことない感覚だから理解に時間がかかった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?