It's not a secret anymore!*
The moose likes Beginning Java and the fly likes Hexadecimal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Hexadecimal" Watch "Hexadecimal" New topic


Arnb Sen
Ranch Hand

Joined: Feb 23, 2004
Posts: 145
Can hexadecimal number be reperesented as 0X instead of 0x ?

Regards,<br />Arnab
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

I think so, but you should try it and see.

[Jess in Action][AskingGoodQuestions]
Arnb Sen
Ranch Hand

Joined: Feb 23, 2004
Posts: 145
Yes it compiles. Thanks.
[ September 04, 2005: Message edited by: Arnb Sen ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Hexadecimal
Similar Threads
char c = �\ucafe�;
confusing output
I dont now which type
7. Represent the number 6 as a hexadecimal literal.
Java Object Reference Variable Question