Ravi opened a file in a certain mode. After opening the file, he forgot the mode. One interesting fact about that mode is ” If the file already exists, all the contents will be overwritten”. Help him to identify the correct mode.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Ravi opened a file in a certain mode. After opening the file, he forgot the mode. One interesting fact about that mode is ” If the file already exists, all the contents will be overwritten”. Help him to identify the correct mode.

1.read mode

2.write mode

3.append mode

4.binary and read mode


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!