aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Error in the mock exam (HFE) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Error in the mock exam (HFE)" Watch "Error in the mock exam (HFE)" New topic
Author

Error in the mock exam (HFE)

Vitaliy Geraymovych
Greenhorn

Joined: Jun 15, 2004
Posts: 24
Hi all,

I think there is an error in HFE on page 432. question 4.
It gives correct answers as A and B. In my opinion B is wrong
because the question states that relationship is unidirectional
from Foo to Bar so the method call from b2.getFoo() is incorrect
because it would mean that relationship is bidirectional.
I checked with the spec (p. 138) and I think I am correct.

There is also a posibility that this is a editing error.

This particular question has several mispellings:
1. E. and D. in the none of the above (already reported in the errata)
2. Answer C in has b1.getBar() on page 426 and has b1.getFoo() on page 432
3. Possibly answer B is mispelled also. If we can change it to f2.getBar() it will be correct.

What do you all think?

Vitaliy


SCBCD 1.3<br />SCJP 1.2<br /> <br />"Every time I learn something new, it pushes some old stuff out of my brain" H.Simpson
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
This question has been asked about a million times before ... but yeah, the questions got a boo-boo. Congrats for catching it. I don't have the question memorized, so I can't confirm your conclusion, but the fact that it's a unidirectional relationship is central to the error.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in the mock exam (HFE)