Java Programming Section 5

Java Programming Section 5

University

15 Qs

quiz-placeholder

Similar activities

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

Pengantar Coding

Pengantar Coding

University

10 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

KUIS MODUL 1 SIL 2022 - Pengembangan Sistem Informasi

KUIS MODUL 1 SIL 2022 - Pengembangan Sistem Informasi

University

10 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

Java Programming Section 5

Java Programming Section 5

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ferdy Aditya

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers