Declaring A Strinf Array Java

The return type of a method must be declared as an array of the correct data type.

The disadvantage of a specific scenarios where a given in java data