Define the following with their constructs:
Single Dimensional Array
58 Likes
A Single Dimensional Array contains one row and one or more columns. The syntax of declaring a Single Dimensional Array is:
<type> <array-variable>[] = new <type>[<size>];
OR
<type> [] <array-variable> = new <type>[<size>];
Answered By
36 Likes
What is the need of Dimensional Array? Explain.
'Array is a composite data type'. Explain this statement.
Double Dimensional Array
Differentiate between Subscript and Subscripted variable