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
Which of these exception is thrown in cases when the file specified for writing is not found?
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
Introducing Web Security

Quiz
•
University
20 questions
Ms word Quiz

Quiz
•
University
20 questions
Mastering HTML and CSS Concepts

Quiz
•
University
20 questions
Web Development and Programming

Quiz
•
University
20 questions
IntraSympo Round One

Quiz
•
University
22 questions
Chủ đề: Ms powerpoint (phần 2)

Quiz
•
2nd Grade - Professio...
20 questions
Multithreading in java

Quiz
•
University
21 questions
РМП 3 курс 6 семестр

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University