String Array

An array with only string values is called string array.

Example

In the following example, we initialize an Array with strings, and access its elements using index.

index.html