Suppose v is an array with 100 int elements. If 100 is assigned to v[100], what happens? The compiler issues an error message. The compiler issues a warning message. An exception will be thrown when that statement is executed. Another variable or array will be unexpectedly modified.

LANGUAGE: JAVA

CHALLENGE:

Suppose v is an array with 100 int elements. If 100 is assigned to v[100], what happens?

The compiler issues an error message.
The compiler issues a warning message.
An exception will be thrown when that statement is executed.
Another variable or array will be unexpectedly modified.

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 ,