Comment on Tutorial :How to use ArrayList in Java By Honghey..
shouldn't the 2nd java code have an opening curly bracket { after the for loop condition??
right before the line:
sum += ((Integer) ia[i]).intValue();