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

Answer 16

Correct answer: d

Explanation:

When a get accessor method for a collection-valued cmr-field that has no related values is invoked, the method must return an empty collection. Since the collection in question must not contain duplicate values, the only possible choice is D.

Choice B would be correct if the cmr-field allowed duplicate values.

All the other choices are incorrect.

Please refer to section 10.3.8 of the EJB 2.0 specification for further details.

 

Test Objective:

Component Contract for Container-Managed Persistence (CMP)

Next page > Question 17

Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

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

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

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

All rights reserved.