Oracle
1Z0-900 · Question #36
1Z0-900 Question #36: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #36. The question stem and answer options stay visible for context.
Use Java Message Service API
Question
Given the code fragment: How can you get all property names of a JMS message in the JMS consumer onMessage operation?
Options
- AString [] props = msg.getPropertyNames();
- BEnumeration props = msg.getPropertyNames();С. Iterator props = msg.getPropertyNames();
- CList<String> props = msg.getProperties();
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#JMS#Message properties#Message API#Enumeration