Java compiler nonsense: is not abstract and does not override abstract method + error: name clash have the same erasure, yet neither overrides the other
Posted: Fri Nov 20, 2015 8:57 am
Your code:
Problem: You forgot an <E> from the end.
Fix:
Code: Select all
class DenseGraph <E extends Edge> extends Graph {
Fix:
Code: Select all
class DenseGraph <E extends Edge> extends Graph<E> {