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.
Even though at that time b is a SpeedBoat and therefore a Toy, the reference is used to determine which methods can be called, and the reference is one to Boat, not Toy or SpeedBoat. The compiler doesn't look at the actual value of the reference.