Computer Certification

  1. Home
  2. Computing & Technology
  3. Computer Certification
SCMAD Practice Test
20 Free SCMAD Practice Questions

Answer 4

Correct answer: a & d

Explanation:

Choices A and D are the correct answers.

Attributes defined within the manifest of the JAR are protected by the signature whereas attributes defined within the application descriptor are not secured. Hence, choice A is correct and choice B is incorrect.

The MIDlet.getAppProperty method returns the attribute value from the manifest if it is present. If not, the value from the application descriptor (if any) is returned. Hence, choice D is correct.

When an attribute appears in the manifest, it should not be overridden by a different value from the application descriptor. For trusted MIDlet suites, the value in the application descriptor must be equal to the value of the corresponding attribute in the manifest. Otherwise, the MIDlet suite would not be installed. Hence, choice C is incorrect.

Note that this is a new requirement of MIDP 2.0 which was not present in MIDP 1.0. Spec Reference: " Signing a MIDlet Suite - page 30" of MIDP 2.0 Specification.

Next page > Question 5

Explore Computer Certification

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Computer Certification

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.