Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

write a name and convert it to an array

   public static void main(String[] args) {
        String name = "chathumal";
        char[] ch = name.toCharArray();
        System.out.println(Arrays.toString(ch));
    }
 
PREVIOUS NEXT
Tagged: #write #convert #array
ADD COMMENT
Topic
Name
3+9 =