QUESTION 1: An array of 1000 integers has been created. What is the largest integer that can be used as an index to the array? A) 1001 B) 1000 C) 999 QUESTION 2: Consider the declaration: int v[] = new int[1]; What is the index of the last element of this array? A) 0 B) 1 C) 2

LANGUAGE: JAVA

CHALLENGE:

QUESTION 1:

An array of 1000 integers has been created. What is the largest integer that can be used as an index to the array?

A) 1001
B) 1000
C) 999

QUESTION 2:

Consider the declaration: int v[] = new int[1]; What is the index of the last element of this array?

A) 0
B) 1
C) 2

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,