Online Access Free 1Z1-805 Practice Test
| Exam Code: | 1Z1-805 |
| Exam Name: | Upgrade to Java SE 7 Programmer |
| Certification Provider: | Oracle |
| Free Question Number: | 90 |
| Posted: | Jul 08, 2026 |
The default file system includes a logFiles directory that contains the following files:
log - Jan2009
log_01_2010
log_Feb2010
log_Feb2011
log-sum-2012
How many files the matcher in this fragment match?
PathMatcher matcher = FileSystems.getDefault ().getPathMatcher ("glob:???_*1");
Given:
public class StringApp {
public static void main(String[] args) {
String[] str="Java SE,java EE,Java ME,java FX".split(",");
int count=0;
for(int i=0;i<str.length;i++) {
switch(str[i]) {
case "Java SE":
count++; continue;
case "Java EE":
count++; break;
case "Java ME":
count++; break;
case "Java FX":
count++; break;
}
}
System.out.println("Total match found="+count);
}
}
What is the result?