File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what "# HexDigits "?

 
RAGU KANNAN
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the "0x HexDigits". but I don't know about "# HexDigits".
Pls give me some example to understand.

Thanks, Raghu.K
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by RAGU KANNAN:
I know the "0x HexDigits". but I don't know about "# HexDigits"...

Hexadecimal values are represented differently depending on the context. See Wikipedia - Hexadecimal for some examples.

Hexadecimal representation prefixed by # is used in HTML color designations. But in Java, hexadecimals are prefixed by 0x. So I would not expect to see # used on the exam.
[ August 17, 2006: Message edited by: marc weber ]
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We need more information. What's the context of this question? The Formatter class?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic