View Single Post
  #1 (permalink)  
Old 10-29-2007, 04:55 AM
toad toad is offline
Member
 
Join Date: Oct 2007
Posts: 11
toad is on a distinguished road
Java Review Question
I am working on a review for my midterm and need some help with a problem.
Code:
This is the question: if array a is int[] a = {1, 2, 3}, what is a[0] - a[2]? a. 1 b. 2 c. 3 d. None of the above
I am guessing that the answer is: b

Anyone know if I am right? If it is not "b" why is it not "b"?
Reply With Quote
Sponsored Links