Consider the following statementsStatement A An Array in Java is a collection of elements of different data type stored in adjacent memory locationsStatement B Array elements can be accessed by the su
c. Statement A is true and statement B is false.
An array in Java is a collection of elements of the same data type stored in adjacent memory locations. The elements can be accessed by the subscript number of the array, which starts from 0.