Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming 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
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Errata Java OCP 11 Programmer I Study Guide - Jeanne Boyarsky and Scott Selikoff

 
Greenhorn
Posts: 2
MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chapter 6, page 241, Review Question 11, the answer on page 510 should be B. The explanation, uppercase before lowecase, is correct.
 
author & internet detective
Posts: 39790
797
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Daniel,
Welcome to CodeRanch!

This question is correct in the book. Notice the minus sign:


This reverses the sort order. The explanation says that normally uppercase sorts before lowercase. However, since we are sorting descendingly (not ascendingly), the order is versed and lowercase is first.
 
Daniel Artois
Greenhorn
Posts: 2
MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Jeanne,
Sorry, my fault, i didn't notice the - .
Thank you. Kind regards,
Daniƫl
 
Jeanne Boyarsky
author & internet detective
Posts: 39790
797
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem. The forum is a great way to get clarification!
 
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!