Answer:
True
Step-by-step explanation:
Indexing in arrays start at zero, so the last element of an array with n number of elements will have the index n-1.
Lets create a simple java application that will print the elements at different indexes of this given array
public class ANot {
public static void main(String[] args) {
int [] numbers = {42,27,36,94,12,44,18};
System.out.println("Element at index 0 is "+numbers[0]);
System.out.println("Element at index 1 is "+numbers[1]);
System.out.println("Element at index 2 is "+numbers[2]);
}
}
The output of this code is:
Element at index 0 is 42
Element at index 1 is 27
Element at index 2 is 36