There are two errors in this class, what are they? and how do I fix them?
public class Question04c extends OtherClass{ protected int answer(int i) throws DumbQuestionException { if(i < 0){ throw new DumbQuestionException(); } else return 6; } } class OtherClass{ public int answer(int i){ return i; } } class DumbQuestionException extends Exception{ }