1

このコードに問題はありますか?

public class MyActivity extends Activity {
    private final String[] names;

    public MyActivity() {
        names = new String[]{
            getString(R.string.strion_one),
            getString(R.string.string_two),
            getString(R.string.string_three),
        };
    }    

    ...

}
4

1 に答える 1