1 Reply Latest reply on Jan 12, 2005 11:12 AM by Shigeru Chiba

    Replace a statement !!

    Eric Chow Apprentice


      How can I replace a statement or expression ?

      For example:

      class Test {
      public static int add(int a, int b) {
      return a+b;

      How can I replace the "return a+b;" with "return _add(a, b);" ?

      And then add another method "public static int _add(int a, int b)".

      Best regards,