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.

Remove.java 401B

12345678910111213141516171819202122232425
  1. package test2;
  2. class RemoveParent {
  3. int p;
  4. }
  5. public class Remove extends RemoveParent {
  6. public int f1;
  7. public int f2;
  8. public String f3;
  9. public Remove f4;
  10. public int[] f5;
  11. public int f6;
  12. int g = 3;
  13. public void bar() {}
  14. public Remove() { g = 7; }
  15. public Remove(int i) { g = i; }
  16. public int foo() {
  17. return g;
  18. }
  19. public void bar2() {}
  20. }