You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Code2.java 274B

123456789101112131415161718
  1. public class Code2 implements I {
  2. public static void main(String[] argv) {
  3. new Code2().m();
  4. }
  5. }
  6. aspect X {
  7. void around(): execution(* I.*()) {
  8. System.out.println("a");
  9. proceed();
  10. }
  11. }
  12. interface I {
  13. default void m(){
  14. System.out.println("b");
  15. }
  16. }