class Expr { public void meth(double p) { String[] sa = new String[]{"0", "1"}; String s = sa[p]; } }