• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFEJB Question

 
Srinivasch ch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am reading HFEJB book. I found the following questions on page 432 (Q.4 )& on page 434 (Q.12)

For Q.4 the answer is A & B , is this not wrong ? ( as per spec only A is correct)

For Q.12 the answer sis B & D this is also wrong ? ( I think correct is only B)

Can you please correct, if I am wrong.

Also I got book in India, is India reprinted copy is same as ORIGINAL ?
 
Greg Charles
Sheriff
Posts: 2993
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a good book, but they got a little sloppy, especially towards the end. You should check out the errata

Somewhat inconveniently, there is the confirmed errata on the latest printing (some of which seem to be fixed anyway in my book), a set of unconfirmed errata (many of which are wrong, while many others are right), and changes fixed from old printings.

It seems to me you have an old printing because question 4 in my book only shows answer A as correct. For question 12, I think B and D are both correct, but I could be wrong.
 
Srinivasch ch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

Can you tell me the version of your book. I have August 2005 version.

Also the errata you provided for Head First Java not EJB. Can you provide the EJB link pls,


Thanks
Srinivas
 
M Jairam
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding question # 4:
My book has the answer marked as only A.
However, I think the answer should have been A and B.
Why is "b2.getFoo() == null" not correct?
Please let me know.
Thanks

FYI: My book is published in US in 03/2005.
 
Srinivasch ch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because it is UNIDIRECTIONAL
 
Greg Charles
Sheriff
Posts: 2993
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh? Gaudere's Law. Sorry about that. Try here.

My printing is also labeled August 2005, but seems to have corrections not made to yours. After looking at the errata, I think I may see the problem you are having with 12-D on page 434. In my version, it reads:


Does yours leave off the where clause?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic