Please give an example of an array and the String you want to create from it.
The String class has methods that can help you.
Type: Posts; User: Norm
Please give an example of an array and the String you want to create from it.
The String class has methods that can help you.
Where does the code assign a value to array? You need to add code that assigns a value to array.
Take a look at the tutorial:
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html
Where do you assign a value to the array variable? It will have a null value if it is not assigned a value.
Try to compile the program to get a compiler error message. Copy and paste the full text of the compiler error message here.
It's hard to suggest a fix without knowing what the problem is.
...
Please copy and paste here the full text of the error messages.