• 2022-06-15
    int index = 1;  int [] foo = new int [3];  int bar = foo [index];  int baz = bar + index;   What is the result?()
    A:  Baz has the value of 0
    B:  Baz has the value of 1
    C:  Baz has the value of 2
    D:  An exception is thrown.
    E:  The code will not compile.