Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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:

Mariann
2 months ago
Aha! I know this one. The answer is clearly A) u.setProperty(String, Object). That's how you set the validation properties in JAXB. Easy peasy!
upvoted 0 times
Jacinta
2 days ago
Actually, I believe it's A) u.setProperty(String, Object)
upvoted 0 times
...
Lai
3 days ago
No, I'm pretty sure it's D) u.setAdapter(XmlAdapter)
upvoted 0 times
...
Bettina
12 days ago
I think the answer is C) u.setEventHandler(ValidationEventHandler)
upvoted 0 times
...
...
Rhea
2 months 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
Graciela
16 days ago
D) u.setAdapter(XmlAdapter)
upvoted 0 times
...
Kristel
26 days ago
C) u.setEventHandler(ValidationEventHandler)
upvoted 0 times
...
Hubert
27 days ago
B) u.setProperty(Schema)
upvoted 0 times
...
Paola
2 months ago
A) u.setProperty(String, Object)
upvoted 0 times
...
...
Elenore
2 months 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
2 months 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
2 months 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
2 months 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
Gail
1 months ago
User2: I agree, using a Schema object is the standard way to enable validation in JAXB.
upvoted 0 times
...
Maryrose
2 months ago
User1: I think B) u.setProperty(Schema) is the correct answer.
upvoted 0 times
...
...
Rozella
2 months 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
2 months 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
2 months ago
I agree with Solange, using ValidationEventHandler seems like the right choice for enabling default validation mechanism.
upvoted 0 times
...
Solange
3 months 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