nerdexam
Oracle

1Z0-804 · Question #59

Given the following files in doc directory: - Index.htm - Service.html - Logo.gif - Title.jpg And the code fragment: What is the result, if doc is present in the current directory?

The correct answer is A. No output is produced. The Glob search expression is defined through "glob:.htm, html, xml" The correct answer is A The glob is trying to match all the string. T he correct way is glob:.{htm,html,xml} and then would be found:

NIO.2

Question

Given the following files in doc directory:

  • Index.htm
  • Service.html
  • Logo.gif
  • Title.jpg

And the code fragment:

What is the result, if doc is present in the current directory?

Exhibit

1Z0-804 question #59 exhibit

Options

  • ANo output is produced.
  • Bindex.htm
  • Cindex.htm
  • Dindex.htm

How the community answered

(44 responses)
  • A
    73% (32)
  • B
    7% (3)
  • C
    16% (7)
  • D
    5% (2)

Explanation

The Glob search expression is defined through "glob:.htm, html, xml" The correct answer is A The glob is trying to match all the string. T he correct way is glob:.{htm,html,xml} and then would be found:

Topics

#directory listing#file filtering#Path#DirectoryStream

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice