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
Options
- ANo output is produced.
- Bindex.htm
- Cindex.htm
- Dindex.htm
How the community answered
(44 responses)- A73% (32)
- B7% (3)
- C16% (7)
- D5% (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.
