FIND THE ANSWERS

Trying to write a method that doubles values in java with generics?

Answer this question

  • Trying to write a method that doubles values in java with generics?


Answers

Answer #1 | 26/12 2013 16:00
public interface Function { public T1 apply(T2 var); } should be public interface Function { public abstract T1 apply(T2 var); }

Possible answer