Q1) Assume that variable A is an arrays of ints. Consider the following code segment:
Boolean flag = false;
for (int k=0;k flag=flag & (A[k]>0);
Which of the following best describes what this code segment does?
The answer is Always sets the flag to true...why?