Take a look here for more info on toCharArray()
String (Java Platform SE 6)
Your code is going to basically be the same.
|
Code:
|
public myString(String args)
{
this.test = args.toCharArray();
} |
Also your input statement was a String array, from your last post it should just be String.