Suppose that we say:

int [] myarray = new int[1000];
About how many bytes are used by (a) the variable myarray, and (b) what it points to?

  • A: 1000 and 1000
  • B: 4000 and 4000
  • C: 8 and 1000
  • D: 8 and 4000
  • E: 1000 and 4000

    Answer

    Prev    Next    Page+10