Which of these construct a DataInputStream instance?

Java Programming Section 5

Quiz
•
Computers
•
University
•
Medium
Ferdy Aditya
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
PYTHON PROGRAMMING

Quiz
•
University
10 questions
Introduction to Java

Quiz
•
University
12 questions
JavaScript Quiz

Quiz
•
University
10 questions
Java Questions & Answers

Quiz
•
University
19 questions
Data Types Java Concepts

Quiz
•
University
11 questions
Linux Commands

Quiz
•
University
20 questions
JDBC

Quiz
•
University
10 questions
Unidad 4 - Usando el Java API Library

Quiz
•
University
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