fork download
  1. class Main{
  2. interface Foo<E>{
  3. boolean contains(E item);
  4. }
  5. interface Bar{
  6. boolean contains(Object item);
  7. }
  8. public static void main (String[] args) throws Exception{
  9. System.out.println(Foo.class.getDeclaredMethods()[0]);
  10. System.out.println(Bar.class.getDeclaredMethods()[0]);
  11. }
  12. }
Success #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout
public abstract boolean Main$Foo.contains(java.lang.Object)
public abstract boolean Main$Bar.contains(java.lang.Object)