Which of these exception is thrown in cases when the file specified for writing is not found?
JAVA WEEK 7-12

Quiz
•
Computers
•
University
•
Hard
KAVIARASU K
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IOException
FileException
FileNotFoundException
FileInputException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a ByteArrayOutputStream in Java?
To write binary data to an output stream
To read binary data from an input stream
To convert characters to bytes
To store binary data in memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to read b length bytes from the input stream into an array?
public void read(int b)throws IOException{{
public int read(byte[ ] b)throws IOException{}
public void read(byte[ ] b)throws IOException{}
public int read(int b)throws IOException{}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to create a directory with fileattributes?
Path.create()
Path.createDirectory()
Files.createDirectory(path, fileAttributes)
Files.create(fileAttributes)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class is used to write primitive data types to an output stream in Java?
DataOutputStream
ObjectOutputStream
OutputStream
PrintWriter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, what is the purpose of a Card Layout?
To create a card game interface
To arrange components in a card-like fashion
To manage multiple panels within a single container
To display images of cards
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which layout manager divides the container into five regions: North, South, East, West, and Center?
Border Layout
Grid Layout
Flow Layout
Card Layout
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Final Quiz

Quiz
•
University
20 questions
Fundamentos JAVA

Quiz
•
University
25 questions
Java Review

Quiz
•
9th Grade - University
26 questions
Pemrograman Berorientasi Objek

Quiz
•
University
20 questions
แบบทดสอบ JAVA Basic

Quiz
•
KG - Professional Dev...
23 questions
Java Array

Quiz
•
University
20 questions
Exception Handling C++

Quiz
•
University
20 questions
ict5_mt_w2_sw2

Quiz
•
12th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade