这段代码有什么问题吗?
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),
};
}
...
}