Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about Java characters

 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java uses the 16-bit Unicode character set.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic