Answer:
The second one:
int sum = 0; for (int i = 0; i < values.length; i++) { if ((values[i] % 2) == 0) { sum += values[i]; } }
Answer:
What does Bob [1] return?
What about Bob[-2]?
What about Bob[1:-1]?
How to get the length of Bob?
Explanation:
A computer that passes the Turing test might show that has the ability to exhibit intelligence similar to, or indistinguishable from that of a human.