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.

InsertAfter.java 212B

1234567891011121314151617
  1. package test3;
  2. public class InsertAfter {
  3. int k;
  4. public InsertAfter() {
  5. k = 3;
  6. }
  7. public int test() {
  8. foo();
  9. return k;
  10. }
  11. public void foo() {
  12. ++k;
  13. }
  14. }