nerdexam
Oracle

1Z0-804 · Question #43

Given the code fragment: What is the result?

The correct answer is C. Java 7, Java 6. regex: Java / one or more anything !!! / ends with a digit so it is the source string

Generics and Collections

Question

Given the code fragment:

What is the result?

Options

  • AJava 7
  • BJava 6
  • CJava 7, Java 6
  • DJava 7
  • EJava

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    17% (4)
  • C
    70% (16)
  • E
    4% (1)

Explanation

regex: Java / one or more anything !!! / ends with a digit so it is the source string

Topics

#TreeSet#NavigableSet#headSet#subset operations

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice