Home
Subscribe TechModgy to learn about new technologies!

Give file is a file object, which of the following are legal statements to create a new file.

A. file.create();

B. FileOutputStream fos=new FileOutputStream(file);

C. FileInputStream fis=new FileInputStream(file);

D. all of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".