I'm getting the errors: illegal start of expression and 'else' without 'if' but can't find any syntax errors here.
public int faultyMethod2(int a, int b) {
int result;
if((a == 0) || b > 0)) {
result = (b / a);
}
else if (a < 0) {
result = (a + b);
}
return result;
}