Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sorting an array of hex (Java OCA 8 Programmer I Study Guide, Sybex)

 
Jason Attin
Ranch Hand
Posts: 232
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody have a suggestion as to how to sort an array of hex?
On page 160 there is a question about sorting an array (I had no idea that you could be asked to sort an hex array, but hey...)
the hex number in the array are: 30,8,3a,ff and the answer apparently is 30,3a, 8, ff
How am I supposed to know that please? Any trick?
thanks
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason Attin wrote:How am I supposed to know that please? Any trick?

This topic is about the same question, so you might find a few pointers to solve it.

Hope it helps!
Kind regards,
Roel
 
Jason Attin
Ranch Hand
Posts: 232
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, very useful, thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic