// // Method // s = a + b + c // class TestMethod { public static void main(String[] args) { // call method here int s = sum(1, 2, 3); System.out.println("s = " + s); System.out.println("\n\nDone.\n\n"); } // go here public static int sum(int a, int b, int c) { return a+b+c; } }