Error while writing to file
<blockquote>
<pre><code>package test_package2;

import java.io.*;

public class File_Directory_Operations {

    public void FileOperation() {
        try {
            byte[] bWtite = { 11, 12, 13, 14, 15 };
            OutputStream objOS = new FileOutputStream("F:/Shiju/Test Programmes/Eclipse/testjava.txt");
          for (int iCount = 0; iCount &lt; bWtite.length; iCount++) {
                objOS.write(bWtite[iCount]);
            }
            objOS.close();

        } catch (Exception e) {
              System.out.println(e.toString());
        }
    }
}
</code></pre>
</blockquote>

<p>I am new to Java.I am able to create the file and write into it, but instead of the expected byte array I am getting series of characters inside the file. Why am I not able to print the array?</p>
