Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ベクトルの作成には数値を指定できます。例:
vet int [] = new int vet [100].
しかし、私が登録用のプログラムを作成し、ユーザーがその金額を決定するとしたら、どのようにこのエントリを作成するのでしょうか?
int quantidade = Integer.parseInt(JOptionPane.showMessagerDialog(null," digite a quantidade")); int vet [] = new int vet [quantidade]