public class NaiveAlien extends Alien { @Override public void harvest(){} }
I was trying to understand my friend\'s code, and I do not ge
@Override means you are overriding the base class method. In java6, it also mean you are implementing a method from an interface. It protects you from typos when you think are overriding a method but you mistyped something.
@Override