fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.List;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main(String[] args) throws Exception {
  9. outer(Integer.class, inner("abc"));
  10. }
  11.  
  12. static <C> void outer(Class<C> c, List<? super C> s){
  13. }
  14.  
  15. static <C> List<C> inner(C c) {
  16. return null;
  17. }
  18. }
Success #stdin #stdout 0.1s 320576KB
stdin
Standard input is empty
stdout
Standard output is empty