So i am building a library as project that covers not all but most of the data structures and i found myself with this problem: At rows 40 and 41 (rows 3 and 4 of method containsKeyAux) it says “The method compareTo(Comparable) is undefined for the type Comparable” and this blows my mind cause the method compareTo is actually defined
Tag: abstraction
abstraction can be done without inheritance? java
Is abstraction possible without inheritance? This is my code Please note above, how i: did not extend the class “what” from abstract class “whatever” and yet the code runs perfectly with no errors Did not declare class “what” as abstract (since it’s not declaring the other two methods disp2() and disp3()) I am very confused. Please help. Answer There is