Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 2034 Page Views: 

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?



Posted By: Avi Date: 9 November 2010 07:50:48 AM
 Answer:

Unicode requires 16 bits and ASCII require 7 bits, UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.


Posted By: avibtech


Date: 9 November 2010 07:50:48 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 8AxR47
Related Questions
Core Java : What are the primitive Java types?

What are the primitive Java types?

byte, char, short, int, long, float, double, and boolean.
Category: Core Java Date: 11/5/2010 9:09:48 AM
Core Java : What is the Dictionary class?

What is the Dictionary class?

The Dictionary class provides the capability to store key-value pairs.
Category: Core Java Date: 11/5/2010 8:58:53 AM
Core Java : To what value is a variable of the String type automatically initialized?

To what value is a variable of the String type automatically initialized?

The default value of an String type is null.
Category: Core Java Date: 11/5/2010 8:25:52 AM
Core Java : Can we  run more than one JVM in a system?

Can we run more than one JVM in a system?

Yes, we can run any number of JVMs in a system.
Category: Core Java Date: 11/5/2010 8:04:47 AM
Core Java : Can the static method be overrided?

Can the static method be overrided?

No
Category: Core Java Date: 11/5/2010 7:53:51 AM