package tutorialspoint.basicoperators;

public class ArithmeticOperators {

  /**
   * Adds values on either side of the operator
   *
   * @param a
   * @param b
   */
  void addition(int a, int b) {
    System.out.println(a + b);
  }

  /**
   * Subtracts right hand operand from left hand operand
   *
   * @param a
   * @param b
   */
  void subtraction(int a, int b) {
    System.out.println(a - b);
  }

  /**
   * Multiplies values on either side of the operator
   *
   * @param a
   * @param b
   */
  void multiplication(int a, int b) {
    System.out.println(a * b);
  }

  /**
   * Divides left hand operand by right hand operand
   *
   * @param a
   * @param b
   */
  void division(int a, int b) {
    System.out.println(a / b);
  }

  /**
   * Divides left hand operand by right hand operand and returns remainder
   *
   * @param a
   * @param b
   */
  void modulus(int b, int a) {
    System.out.println(b % a);
  }

  /**
   * Increases the value of operand by 1
   *
   * @param a
   */
  void increment(int a) {
    a++;
    System.out.println(a);
  }

  /**
   * Decreases the value of operand by 1
   *
   * @param b
   */
  void decrement(int b) {
    b--;
    System.out.println(b);
  }

  public static void main(String[] args) {
    ArithmeticOperators aop = new ArithmeticOperators();
    int a = 10, b = 20;
    aop.addition(a, b);
    aop.subtraction(a, b);
    aop.multiplication(a, b);
    aop.division(a, b);
    aop.modulus(b, a);
    aop.increment(a);
    aop.decrement(b);
  }
}

@@ -179,17 +179,19 @@
 %0A  void 
-a
+doA
 ddition(
@@ -361,17 +361,19 @@
 %0A  void 
-s
+doS
 ubtracti
@@ -543,17 +543,19 @@
 %0A  void 
-m
+doM
 ultiplic
@@ -728,16 +728,18 @@
   void d
+oD
 ivision(
@@ -927,17 +927,19 @@
 %0A  void 
-m
+doM
 odulus(i
@@ -1077,17 +1077,19 @@
 %0A  void 
-i
+doI
 ncrement
@@ -1229,16 +1229,18 @@
   void d
+oD
 ecrement
@@ -1430,17 +1430,19 @@
     aop.
-a
+doA
 ddition(
@@ -1457,17 +1457,19 @@
     aop.
-s
+doS
 ubtracti
@@ -1487,17 +1487,19 @@
     aop.
-m
+doM
 ultiplic
@@ -1521,16 +1521,18 @@
    aop.d
+oD
 ivision(
@@ -1547,17 +1547,19 @@
     aop.
-m
+doM
 odulus(b
@@ -1573,17 +1573,19 @@
     aop.
-i
+doI
 ncrement
@@ -1599,16 +1599,18 @@
    aop.d
+oD
 ecrement

Refactor method names.