它说“int加法= t + r;” 是一个无法到达的声明。这意味着什么?如何纠正它?
public class parseMETHOD {
public static void main(String[] args) {
int a=9;
int b=45;
int result=calFunction(a,b);
System.out.println(result);
}
private static int calFunction(int t,int r) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools |
Templates.
int addition = t+r;
return addition;
} }