• Post Reply Bookmark Topic Watch Topic
  • New Topic

Errata K&B OCP7 p. 559  RSS feed

 
Ranch Hand
Posts: 59
  • 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: 59
  • 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.
 
Your mother was a hamster and your father was a tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!