fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. class Something<T extends java.io.Serializable> {}
  4.  
  5. class Main {
  6.  
  7. public static <T> void x(Something<? extends T> something) {}
  8.  
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
spoj: The program compiled successfully, but main class was not found.
      Main class should contain method: public static void main (String[] args).
stdout
Standard output is empty