Q46
Single choice
Given:
a JAR containing a MIDlet named TesterMIDlet
a JAD with this content: CertificationExam:
Sun Certified Mobile Application DeveloperMIDlet-1: TesterMIDlet, , certification.TesterMIDlet MIDlet-Jar-
Size: 2038 MIDlet-Jar-URL: Certification.jar MIDlet-Name: Certification MIDlet-Vendor: A Testing Company MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-2.0
This MIDlet needs to get the property with the key CertificationExam defined in the JAD. This needs to be assigned to a String ExamName from within the MIDlet.startApp() method.
What is the correct way to accomplish this?