This line does it:
String [] n = {"avenue", "jewelry"};
Type: Posts; User: Norm
This line does it:
String [] n = {"avenue", "jewelry"};
The compiler can not find a version of the add() method with args that match those in the statement with the error.
Either add an overload for the add() method that matches the args you want to...
Please copy full text of error message and paste it here.
The message should show the source with a ^ under the location of the error.
Here is a sample from the javac compiler:
...