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.
私は次のような文字列配列を取得しました:
public static String[] SOM = new String[] { "", "","", "","something", "something","something", "something","", ""};
位置番号4の文字列が何であるかを確認したいとします。その単一の文字列のみを取得するにはどうすればよいですか?
できるよ:
System.out.println(SOM[3]);