朋友们帮我解答呀 为什么会抛异常呢 着急!!!
package com.imooc;public class X { public static void main(String[] args) { // TODO Auto-generated method stub String a="是"; String a1="否"; int b=Integer.valueOf(a); int b1=Integer.valueOf(a1); if(b==b1){ System.out.println("错"); }else{ System.out.println("对"); } }}