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

配列とは

配列は1種類のデータ型を複数個管理する際に使用されます。

Javaでは配列の要素を0から表記するので、配列の一番目の要素は
配列名[0]となります。

宣言の際には、要素の型と配列の変数名の他に、newが必要です。

配列宣言の例
要素の型[] 配列変数名 = new 要素の型[要素数];
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?