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.

ReplaceNew.java 401B

1234567891011121314151617181920
  1. package test3;
  2. public class ReplaceNew {
  3. public ReplaceNew() {}
  4. public ReplaceNew(String s) {}
  5. int i = 0;
  6. public int run() {
  7. i = 3;
  8. @SuppressWarnings("unused")
  9. ReplaceNew s = new ReplaceNew();
  10. new ReplaceNew();
  11. return i;
  12. }
  13. static int j = 0;
  14. public int run2() {
  15. new ReplaceNew(new String("test"));
  16. return j;
  17. }
  18. }