您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BadReferences.java 319B

12345678910111213141516171819202122232425
  1. aspect BadReferences {
  2. public void main(String[] args) {
  3. int x = C.x;
  4. Object o = new C.Inner();
  5. }
  6. }
  7. class C implements I1, I2 {
  8. }
  9. interface I1 {
  10. public static int x = 1;
  11. public static class Inner {
  12. }
  13. }
  14. interface I2 {
  15. public static int x = 2;
  16. public static class Inner {
  17. }
  18. }