What error is returned by the following statement if the file does not exist? f=open("A.txt")

Question:
What error is returned by the following statement if the file does not exist?
f=open("A.txt")

1.FileNotFoundError

2. NotFoundError

3.NotFoundError

4.FoundError

Posted Date:-2021-12-11 23:36:08


More MCQS Questions and answers

Search
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!