Files static method ________ receives a Path and returns a boolean indicating whether that Path represents a directory on disk.

a. isDiskDirectory
b. isDirectory
c. isFileDirectory
d. isPath


b. isDirectory

Computer Science & Information Technology

You might also like to view...

The UML distinguishes an interface from other classes by placing the word “interface” in above the interface name.

a) italics b) carets c) guillemets d) bold

Computer Science & Information Technology

A multi-way if-else statement

(a) allows you to choose one course of action. (b) always executes the else statement. (c) allows you to choose among alternative courses of action. (d) executes all Boolean conditions that evaluate to true.

Computer Science & Information Technology

Which of the following is a true statement about middleware?

a) Middleware enables communication between computers in distributed systems. b) Middleware permits applications to run on heterogeneous computer platforms. c) Middleware simplifies application development, as developers do not need to know the implementation details of the middleware. d) all of the above

Computer Science & Information Technology

JavaScript has a function called ____ that returns a True value if a string cannot be converted to a number.

A. isNumeric(str) B. isNaN() C. numberToString(num) D. isLetter(str)

Computer Science & Information Technology