View Single Post
  #12 (permalink)  
Old 07-02-2009, 01:52 AM
JohnnyR JohnnyR is offline
Member
 
Join Date: Feb 2009
Posts: 46
Rep Power: 0
JohnnyR is on a distinguished road
Default
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.
Reply With Quote