Generic Interfaces
it is used to deal with abstract data types .This is implemented for different data types. Generic interfaces are specified just like generic classes. For example :
// T and X is type parameter
interface Fruit <T, X>{
T name(T data );
X getTe...
sanjayprajapat.hashnode.dev1 min read