
JAVA - Day5

Quiz
•
Information Technology (IT)
•
University
•
Medium
Chitra Muthu
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which class in Java is used to read character data from a file?
FileReader
FileWriter
FileInputStream
PrintWriter
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is true about FileWriter?
It is used for writing character data to a file.
It is used for writing byte data to a file.
It reads character data from a file.
It reads byte data from a file.
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which class provides efficient reading of characters, arrays, and lines?
FileWriter
FileReader
BufferedWriter
BufferedReader
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
: What is the primary advantage of using BufferedWriter over FileWriter?
It allows faster writing by using a buffer.
It can read data from the console.
It supports serialization.
It is used for reading object data.
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How can you create a thread in Java?
By extending the Thread class.
By implementing the Runnable interface.
By using a lambda expression.
All of the above.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which method is called when a thread starts?
run()
start()
execute()
init()
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is not a valid thread state in Java?
New
Running
Waiting
Pending
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Pemanfaatan Google Drive untuk Siswa

Quiz
•
11th Grade - University
15 questions
Kuis Google Classroom

Quiz
•
7th Grade - University
10 questions
10 Repaso ofimatica

Quiz
•
10th Grade - University
15 questions
UAS_Desain Grafis

Quiz
•
University
10 questions
General ExpressJS Quiz

Quiz
•
University
15 questions
Table,Image formatting

Quiz
•
5th Grade - University
10 questions
QUIZ-1 KELAS XI

Quiz
•
University
12 questions
Help! Translate?

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University