I want to convert a character array to a string object using the toString() method in java. Here is a snippet of the test code I used:
import java.util.Array
There is a spelling mistake of "Array.toString()" to "Arrays.toString(Array)" I guess so, and instead of writing name.toString(), pass the name as an argument and Write as above.