package edu.javacourse.methods;

public class Main {

    public static void main(String[] args) {
        Math math = new Math();
        int addResult = math.add(10, 3);
        int subResult = math.sub(44, 2);

        System.out.println("10 + 3 = " + addResult);
        System.out.println("44 - 2 = " + subResult);


        Logger log = new Logger();
        log.out("Hello");
        log.out("World");

    }

}

@@ -215,34 +215,59 @@
         
-System.out.println
+Logger log = new Logger();%0A%0A        log.out
 (%2210 + 3
@@ -297,26 +297,15 @@
     
-System.out.println
+log.out
 (%2244
@@ -332,44 +332,8 @@
 );%0A%0A
-%0A        Logger log = new Logger();%0A
     

Use Logger for output