I have an interface with prototype
public interface genericInterface <E extends Comparable <E>>{}
and now I want to implement this inerface in my class, what I should wirte in class definition? The following line is giving me an error (I have implemented all the methods in the interface)
public class MyClass<Integer> implements genericInterface**<Integer Comparable<Integer>>**{ }
Syntax...
genericInterface<Integer Comparable<Integer>> -- error
genericInterface<Integer> -- error
what I should write in place of <Integer Comparable<Integer>> to make it compatible?