public static void main(String[] args) { Sum sum = new Sum(); sum.method1(); sum.method2(); sum.method3(); }