• 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

m > n and 6 < 7  RSS feed

 
Greenhorn
Posts: 19
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Additional question for page 339, Chapter 2-Review Question explanation #19:
2nd to the last sentence says:
....m > n evaluates to false, as 6 < 7 is not true.

I am thinking, it should be: 6 > 7 is not true.
Can someone enlighten?  Thanks.
 
Marshal
Posts: 60909
190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this is an unrelated topic, you should have created a new thread. Never mind, I can break the thread for you.
Yes, 6 < 7 does look peculiar, but I would need to see the whole question to be sure about your erratum. Please check the known errata here; I couldn't find your error.
 
Christian Dadulla
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct, It is not on the errata page.  I am reading a paperback copy ISBN:978-1118957400 copyright(2015). I was wondering if it's already corrected/reported somewhere..
 
Campbell Ritchie
Marshal
Posts: 60909
190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That link is the one place where it will be reported, so if it isn' on that link it hasn't been reported. I don't have a copy of the book, so I know no more than I did earlier.
 
author & internet detective
Marshal
Posts: 38687
677
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Added to the errata. Have a cow for noticing this error. And being a thorough reader!
 
Christian Dadulla
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
Not sure if this is a new one? Page 149, Working with Dates and Times:
The topmost code snippets, last line of code is missing a comment:
//UnsupportedTemporalTypeException

... it will be like this:
System.out.println(time.format(shortDateTime));//UnsupportedTemporalTypeException
 
Campbell Ritchie
Marshal
Posts: 60909
190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. It isn't in the errata page I linked earlier. Please explain why you think the comment about the exception should be included in the code.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 38687
677
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Christian Dadulla wrote:Thanks!
Not sure if this is a new one? Page 149, Working with Dates and Times:
The topmost code snippets, last line of code is missing a comment:
//UnsupportedTemporalTypeException

... it will be like this:
System.out.println(time.format(shortDateTime));//UnsupportedTemporalTypeException


No, this is intentional. We mention in the text that precedes that code that it behaves the same way and omit all the comments about printlns and exceptions. The idea is to call attention to the parameter vs object in the second example rather than repeat the same comments.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!