Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Errata K&B OCP7 p. 559  RSS feed

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Confused. Why does the first sentence of the first paragraph refer to there being three objects, when there are only two that I can see. The first is an interface BookDao which by definition isn't an object, not an instance of the interface. Shouldn't it be two objects and one interface?

Just wondering.

m.
 
Mark Kevin
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I believe the third object they left out was class Student referred to on page 557? Then it would be one interface and three objects, a) Student, b) InMemoryBookDao. and c) Book.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!