Why don't we need i++ in the following snippet: 
import java.io.*;
    class PracIn
    {
        public static void main(String args[])
        {
            try
            {
            System.out.println("Reading From File.....\n\n");
            /* You MUST create First File myOwnFile.txt in your machine */
            /* Add some Text on that File */
            FileInputStream fin=new FileInputStream("myOwnFile.txt");   
            int i=0;
            while((i=fin.read())!=-1)
            {
                System.out.print((char)i);      /* why we don't need i++*/
            }
            }
            catch(Exception e)
            {
            }
        }
    }
What is the theory behind the logic?
 
     
     
     
     
    