// access level clashes interface i { void ff(); } public class a implements i { void ff() {} } class ai implements i { public int ff() { return 0;} } class c2 implements i { public c2() {} public void ff() {} protected void g() {} private int fff(String s) { return 0; } } class c3 extends c2 { protected c3() {} private int g(int k) { return 2;} private char fff(String s) { return 0; } } class c4 extends c3 { private c4() {} private void g() {} private String fff(String s) throws java.io.IOException { return null; } } class c4i extends c3 { protected Object g() {return null;} } // sibling inheritance abstract class c5 { abstract public int ff(); } interface i5 { void ff(); } abstract class c6 extends c5 implements i5 { } class c7 { public String ff() { return null;} } class c8 extends c7 implements i5 { } // interface should not clash with Object interface A { Object clone() throws CloneNotSupportedException; void finalize(); void hashCode(); void equals(Object o); void toString(); } interface ConflictWithObject { Object clone() throws CloneNotSupportedException; } class s implements ConflictWithObject { } // parallel overriding methods from Object interface InderFace { Object clone() throws CloneNotSupportedException; } interface SubInderFace extends InderFace { } class Implementation implements SubInderFace { } //SCR20002 abstract class SCR20002A extends Object implements Runnable { protected abstract int getSome(); private final Inner getInner() { return null; } private class Inner { } } abstract class SCR20002B extends SCR20002A implements Runnable { private final Inner getInner() { return null; } private class Inner { } } abstract class SCR20002C extends SCR20002B implements Runnable { }