title: What is the purpose and meaning of (char)i or (int)i in java?
body: <p>From this example </p>
  
  <pre><code>FileInputStream fis=new FileInputStream("lalu.txt");
  int i=0;
  
  while(i=fis.read() !=-1){
      System.out.println((char)i);  
  }
  </code></pre>
  
  <p>My purpose to ask this question is why the <code>char</code> is wrapped in parentheses here?</p>