Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-900 Topic 6 Question 80 Discussion

Actual exam question for Oracle's 1Z0-900 exam
Question #: 80
Topic #: 6
[All 1Z0-900 Questions]

Given the code fragment:

Which method should be used on line 3 to enable default validation mechanism?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Rhea
8 days ago
Ha! These JAXB questions are always a bit of a guessing game. I'll just close my eyes and pick an answer. Eeny, meeny, miny, moe...
upvoted 0 times
...
Elenore
9 days ago
Hmm, I'm not sure. The question is a bit tricky. Maybe C) u.setEventHandler(ValidationEventHandler) could work, but I'm not confident about that.
upvoted 0 times
...
Rozella
14 days ago
Hmm, that's an interesting point. I see where you're coming from. Let's see what others think before making a final decision.
upvoted 0 times
...
Emily
17 days ago
I disagree, I believe the answer is D) u.setAdapter(XmlAdapter). Using an adapter seems more appropriate for enabling default validation.
upvoted 0 times
...
Tesha
17 days ago
I think B) u.setProperty(Schema) is the correct answer. The question mentions 'default validation mechanism', and using a Schema object is the standard way to enable validation in JAXB.
upvoted 0 times
...
Rozella
18 days ago
I think the correct answer is C) u.setEventHandler(ValidationEventHandler). It makes sense to use an event handler for validation.
upvoted 0 times
...
Ryan
20 days ago
I'm not sure, but I think u.setProperty(Schema) could also be a valid option for enabling default validation mechanism.
upvoted 0 times
...
Tamala
21 days ago
I agree with Solange, using ValidationEventHandler seems like the right choice for enabling default validation mechanism.
upvoted 0 times
...
Solange
26 days ago
I think the answer is C) u.setEventHandler(ValidationEventHandler)
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77