I just wanted to register a command in the main class as normal. Quite normal "getCommand (" back "). SetExecutor (new LastLoc ());"
But then Eclipse tells me "Can't instantiate the type LastLoc". But I have it just as normal as all others imported
For the "LastLoc" class, stop is written instead of "public class", "public abstact class". Does that have anything to do with it? 🤔
😆
Bidde for help
One can't instantiate abstract classes, that's exactly the meaning of it.
I guess you did not implement a method and Eclipse then suggested that you either make the class an abstract class or implement the method. You have to do the latter.