Is there a java function that sums up all of the elements of an array? because i don't want to have to write out a loop to count it or do array[1] + array[2] etc......
I don't know why someone said useless, but it does have that pesky kernel driver bundled, and it's in perennial turmoil. When it goes bad, it goes very bad, and it's impossible to predict when it will due to system differences. I know that they're in the middle of development for a major new version that will include a completely new driver, one that they expect will largely solve the problem, but that's a ways out and it's unproven at this point.
Question
Internet
Is there a java function that sums up all of the elements of an array? because i don't want to have to write out a loop to count it or do array[1] + array[2] etc......
Link to comment
https://www.neowin.net/forum/topic/633412-java-sum-of-array-elements/Share on other sites
6 answers to this question
Recommended Posts