It says "int addition = t+r;" is an unreachable statement. what does that mean? How to correct it?
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;
} }