
Java Programming Section 5
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Ferdy Aditya
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these construct a DataInputStream instance?
New dataInputStream(new file("java.txt"));
New dataInputStream(new InputStream("java.txt"));
New dataInputStream(new writer("java.txt"));
New dataInputStream("java.txt");
New dataInputStream(new FileInputStream("java.txt"));
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The java.nio.file package has improved exception handling.
True or false?
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The java.io package has problems with no support for symbolic links.
True or false?
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The normalize() method removes redundant name elements from a qualified path.
True or false?
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The new Paths class lets you resolve .. (double dot) path notation.
True or false?
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following static methods is not provided by the Files class to check file properties or duplication?
Files.isWritable(Path p);
Files.isHidden(Path p);
Files.isArchived(Path p);
Files.isReadable(Path p);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can read input by character or line.
True or false?
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Perkakasan Multimedia
Quiz
•
University
20 questions
System and network support and management
Quiz
•
11th Grade - Professi...
20 questions
DreamWeaver CS6
Quiz
•
University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
CP N5 Theory Test 1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
