title: How to: Convert user input as an interger to a String
body: <p>//This is my first class. Used to set up constructor and mutator methods.</p>
  
  <pre><code>public int setColor(int setColor) //Mutator
  {
    colorCode = setColor;
    return setColor;
  }
  
  public String setColorOfAuto(String toString)
  {
    if (colorCode == 1);
    {
      toString = ("Red");
      return toString;
    }
  }
  </code></pre>
  
  <p>My question is. How can I get user input, as an integer, (either 1,2,3,4) to convert to String (1 for Red, 2 for Blue, 3 for White, 4 for Black).
  These objects have already been declared and initialized but I chose not to add that section due to over bearing weight of programming. Also, this made it look cleaner and hopefully easier to navigate through. Constrained to the use of mutator and accessor methods only.</p>
  
  <p>Thanks.</p>