Which of the following exception is thrown in case when the file specified for writing is not found?

Quiz 2: File Handling

Quiz
•
Professional Development
•
Professional Development
•
Hard
MADHURI KETHARI
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FileNotFoundException
IOException
FileInputException
FileException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following method is used to read from file?
readFile()
get()
read()
scanf()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following value is returned by read() method when end of file (EOF) is encountered?
1
-1
0
Null
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the follwing methods is used to write() into a file?
writeFile()
put()
write()
print()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is not a member class of java.io package?
FileReader
FileWriter
File
String
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following class is not related to input and output stream in terms of functioning?
File
FileReader
FileWriter
InputStream
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Google Classroom

Quiz
•
Professional Development
15 questions
[FAST TRACK] Android quiz 15

Quiz
•
Professional Development
25 questions
core java 2

Quiz
•
Professional Development
15 questions
Cert Magento Frontend AD0-E710 - Javascript - Part 1

Quiz
•
Professional Development
20 questions
Typescript Basics

Quiz
•
Professional Development
21 questions
Automation Testing with Playwright

Quiz
•
Professional Development
20 questions
Programming Knowledge Quiz (Easy)

Quiz
•
5th Grade - Professio...
15 questions
Quizizz - Session 23 - File và làm việc với File

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade