Semester_2/IntroOS/OSC10e/ch7/project-1/java/Task.java
<gh_stars>0public class Task implements Runnable {
    private int a;
    private int b;

    public Task(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public void run() {
        System.out.println("I am a task result = " + (a + b));
    }
}
