KnowledgeBoat Logo
|

Computer Applications

Define the following with their constructs:

Single Dimensional Array

Java Arrays

58 Likes

Answer

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


Related Questions