1. Given the declaration:
int[] table = new int[3];
how long is the array and what is the valid range of indices?
2. What does the following program fragment do?
int[] table = new int[10];
for (int index = 0; index <=>
table[index] = index;
}
3. Write a method that displays an array of integers, one per line, in a text area. The single parameter to the method is the array.
=>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here