Float Array Sum Function In Java:
public float sumArr(float[] args) { int sum = 0; for (int j=0; j sum += args[j]; } return sum; }