title: how to convert a String into a character array without .toCharArray instance method
body: <pre><code>// I have to prompt the user to input the String and store into Char [] array
  // I know that we can use .toCharArray instance method to store the string
  // into Character array.
  
  // But I do not have to use that method, so I reference the string input to
  // char array but I got an compiler error saying cannot convert string to char
  
  // This is I have done So far
  import java.util.Scanner;
  </code></pre>
  
  <p>/**
      This program prompts the user to input a string and then
      outputs the entire string uppercase letters.
  */</p>
  
  <pre><code>public class StringUppercase
  {
      public static void main(String [] args)
      {
          String input;
          Scanner keyboard = new Scanner(System.in);
  
          System.out.println("Please enter a String " );
          input = keyboard.nextLine();
  
          char[] name;
  
      }
  } 
  </code></pre>