File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Question about Java characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question about Java characters" Watch "Question about Java characters" New topic
Author

Question about Java characters

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275
Hi,
During a Java Test, I came across one question. Can anyone tell me correct answer for it?
Java characters are :-
ANSI characters
ASCII characters
Unicode characters
TIA
Grishma
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Java uses the 16-bit Unicode character set.


[Jess in Action][AskingGoodQuestions]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
If you're wondering how you can be as smart as Ernest and figure out the answer to such an inquiry, well... I can at least suggest how to figure out such questions. Take a look at The Java Language Specification (JLS). Section 4.2 holds the answer to this question.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about Java characters
 
Similar Threads
get numeric character representation for Polish unicode characters
Chinese characters are not displayed correctly
printing Extended Character Set values
Displaying Char's: Unicode vs ASCII
< and > in java string