What is the result? Given: What is the result? Given: What is the result? A. 3 6 4 6 B. 5 4 5 6 C. 3 4 5 6 D. 3 4 3 6 Explanation: Show Hint ← Previous question Next question →
mrtsilva Correct Answer: B – 5 4 5 6 Variable i is static so it’s shared between all instances of X. Tested. Reply
Correct Answer: B – 5 4 5 6
Variable i is static so it’s shared between all instances of X.
Tested.
Definitely B.
answer: B
b
Why B and not D?
Ok, now l have understand
yes variable i is static so why sharing all the instances of x with 5 why not 3