Bookmark Topic Watch Topic
  • New Topic

Error in kb6 book ?  RSS feed

 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please consider following snippet of code from kb6 book page no. 585. I think there is problem in last line. shouldn't it be System.out.println(m.get(new Dog("arthur")));

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post duplicate questions in different forums. Duplicate of http://www.coderanch.com/t/574041/java-programmer-SCJP/certification/Error-kb-book
 
Campbell Ritchie
Marshal
Posts: 56527
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
John Jai wrote:Please don't post duplicate questions . . .
Thank you for noticing. Thread closed.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!