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.
変数を介して配列項目を指すにはどうすればよいですか? 例:
String[] names; int test = 10; String myName = names[test];
目的は、ユーザー名/パスワード プログラムのために、2 つの異なる配列から同じ番号の項目を取得することです。