Computer Applications
An array element can be accessed through:
- dots
- element name
- index number
- none
Java Arrays
58 Likes
Answer
index number
Reason — An array element can be accessed through the index number.
Answered By
23 Likes
Related Questions
Cell numbers of a dimensional array are also known as:
- packets
- blocks
- subscripts
- compartments
A dimensional array is also known as:
- subscripted variable
- actual variable
- compound variable
- none
Indicate the error message which displays, if the following statement is executed :
int a[5] = {28,32,45,68,12};- Insufficient cells
- Array index out of bounds
- Elements exceeding cells
- None
The following statement :
int code[ ]= {25,37,38,42};- assigns 37 to code[1]
- assigns 25 to code[1]
- assigns 38 to code[3]
- assigns 42 to code[0]