您的位置首页百科问答

required: java.lang.Integer

required: java.lang.Integer

帮你指塌完全修改了一唯野圆遍,直接拿去吧public class Test2 { public static void main(String [] args) { Integer i1=new Integer(256); Integer i2=new Integer(256); if (i1.equals(i2)) System.out.println("相等"); else System.out.println("脊空不相等!"); } }