title: Java converting int value in char
body: <p>This is a program in which line no 4 generate a compilation error ( possible loss of precision  ,required char find int</p>
  
  <pre><code>public class test {
          public static void main(String args[]) {
              char c;
              int i;
              c = 'A';        // 1
                      char ch=32;       //2
              i = c;      //3
              c = i + 1;  //4
              c++;        //5
          }
      }
  </code></pre>
  
  <p>in line no. 2 char ch=32; we assign in a char variable ch a value 32 but no any error generate.
  I want the difference between this two line;
  char ch=32 and c=i+1;</p>