Here you can find the source of sumInts(int... numbers)
public static int sumInts(int... numbers)
//package com.java2s; public class Main { public static int sumInts(int... numbers) { int result = 0; for (Integer i : numbers) { result += i;// www .java 2s. c om } return result; } }