advantage of single
dimensional array in java with example
Answers
Answered by
2
Answer:
(i). A single subscripted variable is an identifier for a one dimensional array.
(ii). It is to store elements of same data type
(iii). These elements reserved are either in a single row or in a single coloum.
(iv). One subscript to access an element of this array.
Example:int a []=new int [5];
Hope you like it
Similar questions
Math,
5 months ago
History,
5 months ago
Geography,
10 months ago
Business Studies,
1 year ago
Geography,
1 year ago