When I compile my code, I get the following error message:
myClass is not abstract and does not override abstract method clear( ) in java.util.Collection
Part of the code does override 3 methods from java.util.Collection, which cant be changed (part of the project), and I cant make this class abstract
My underlying questions are: Do I have to override all of the methods from Collection, or is there some way around this issue?
And if I have to override them all, does that really mean I have to rewrite the whole method, or is there a shortcut to that, assuming I dont need to use those methods?