There is nothing adding in the array and  the c value is  still zero.
You might confused with the line
for (int d : b) {
That is java for each loop.
0
solved What does this method return?
 
There is nothing adding in the array and  the c value is  still zero.
You might confused with the line
for (int d : b) {
That is java for each loop.
0
solved What does this method return?