Escape « hexadecimal « Java Data Type Q&A





1. \x Escape in Java?    stackoverflow.com

I was wondering if there is a similar hex (\x) escape in Java like there is in C++. For example:

char helloworld[] = "\x48\x45\x4C\x4C\x4F\x20\x57\x47\x52\x4C\x44";
printf("%s", helloworld);
There is no hex (\x) escape in Java from ...