Abstract methods in Java

I want to write an abstract method but the compiler persistently gives this error:

abstract methods cannot have a body

I have a method like this:

public abstract boolean isChanged() {
    return smt else...
}

What is wrong here?

31
задан Joachim Sauer 10 June 2013 в 08:07
поделиться