// A.java
public interface A extends B {
}
// B.java
public interface B extends A {
}
If the answer is obvious, try this: Change B.java into a marker interface then compile A.java. Put the class file aside. Do the same for B.java. Then bring both class files together.
Q: Will the following code compile against such A.class and B.class?