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.

C.java 200B

1234567891011121314
  1. abstract class B {}
  2. aspect A {
  3. abstract void B.m();
  4. public static void doit(B b) { b.m(); }
  5. }
  6. public class C extends B {
  7. public static void main(String[] args) {
  8. A.doit(new C());
  9. }
  10. }