package pr2.vererbung.ueberladen_summe;

public class Summator {

    public int sum(int a, int b) {
        return a + b;
    }

    public int sum(int a, int b, int c) {
        return a + b + c;
    }

    public int sum(int a, int b, int c, int d) {
        return a + b + c + d;
    }

    public int sum(int a, int b, int c, int d, int e) {
        return a + b + c + d + e;
    }
}
