Which of the following statements is correct to create a DataOutputStream to write to a file named out.dat?
a. DataOutputStream outfile = new DataOutputStream(new File("out.dat"));
b. DataOutputStream outfile = new DataOutputStream(new FileOutputStream("out.dat"));
c. DataOutputStream outfile = new DataOutputStream(FileOutputStream("out.dat"));
d. DataOutputStream outfile = new DataOutputStream("out.dat");