src/main/java/org/effectivejava/chapter07/item42/Varargs.java
static int sum(int... args) {
		int sum = 0;
		for (int arg : args)
			sum += arg;
		return sum;
	}
// Simple use of varargs - Page 197
Simple use of varargs - Page 197
Simple use of varargs - Page 197
static int sum(int... args) {
		int sum = 0;
		for (int arg : args)
			sum += arg;
		return sum;
	}
static int sum ( int ... args ) { int sum = 0 ; for ( int arg : args ) sum += arg ; return sum ; }
Simple use of varargs - Page 197
Simple use of varargs - Page 197