Answer the following statements true (T) or false (F)
1. Arrays consist of items of different types.
2. An array reference may be assigned only to a different array of the same size as the array it’s currently referencing.
3. The first element in every array is the 0th element.
4. The position number in square brackets is formally called an index.
5. Only literal integer values can be used as an index into an array.
1. False. Arrays consist of items of the same type.
2. False. An array reference may be reassigned to an array of any size.
3.True.
4. False. The position number must be in parentheses.
5.False. An integer expression that can be evaluated to an integer can also be an index.
You might also like to view...
In an inheritance relationship, the class that does the inheriting is called the:
A. parent class B. base class C. virtual class D. derived class
Computers that deliver webpages to your computer are called ____.
A. web servers B. clients C. tablets D. kernels