Because of this:
The step above
created an array with 4 elements, each of the element is of type
String (this info bound with array after it created and may not be changed), and each element not initialized yet (for Object types including String it will be null)
Now, the next step for initializing array element would be:
The code above -- special case for Strings where you can use string literal without keyword
new.
Generic syntax for some other object type would look like this (more verbose so for string it's not used normally):
There is no class type
Inseln, so your code would fail.
If you want specifically this type, the the class
Inseln must be declared somewhere in classpath, and the code would be like this:
What you must remember -- array type defined at the moment of creation and may not be changed during array life.