Opening Hours :7AM to 9PM
import java.io.*; class Main { public static void main(String args[])throws Exception{ FileOutputStream fout = new FileOutputStream("abc.txt"); BufferedOutputStream bout = new BufferedOutputStream(fout); byte b[] = {75, 76, 77, 78}; bout.write(b); bout.close(); fout.close(); } }Using BufferedOutputStream data can be transfer to a file with a faster rate.