Originally Posted by JohnnyR
|
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.
|
JonnyR! Thanks for the info mate. It seems to be able to compile now.
I know know how to use the toCharArray() method!
All the best,
FMJ.