I'm working on getting my interface to extend TimerTask in Java. But my code will give the next error: "Interface expected here" at the declaration of the interface.
import java.util.List;
import java.util.TimerTask;
public interface IEffectenBeurs extends TimerTask {
public List<IFonds> getInfo();
public void run();
}