I am writing a polynomial class that later I will use to add two polynomials together. Right now I am working on writing the compareTo method (my class implements Comparable). Unfortunately I am getting the following error:

[CODE=JAVA]Polynomial.java :79: cannot find symbol
symbol : variable degree
location: class java.lang.Objec t
if (this.degree == ob1.degree)
...