This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes JQ+: Encoding scheme of the JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "JQ+: Encoding scheme of the JVM " Watch "JQ+: Encoding scheme of the JVM " New topic

JQ+: Encoding scheme of the JVM

Daniel Wu
Ranch Hand

Joined: Jun 13, 2001
Posts: 58
Which of the following encoding schemes is used by the jvm internally for storing identifiers etc.?
1. Unicode
2. UTF8
4. 8859_1
5. It depends on the platform
I choose 1. because "inside the JVM, where characters are strictly 16-bit Unicode..."(P460 of RHE).
But the JQ+ offer 2 as the correct answer. Could anyone explain the choice? Thanx in advance.
I agree. Here's the link:
subject: JQ+: Encoding scheme of the JVM