This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Given the container-managed unidirectional relationship:
Foo(0-1) -> Bar(0-1)
and the object relations:
What will be true after the following code runs?
How is it possible that 'b2.getFoo()==null' is one of the correct answers ? If the relationship is unidirectionnal this means we can call the method getBar() on the Foo beans but not the method getFoo() on the Bar Beans.
I took a look at the errata, nothing has been specified about this.