Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 2862 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 iS91sc
Related Questions
Core Java : When does the compiler supply a default constructor for a class?

When does the compiler supply a default constructor for a class?

The compiler supplies a default constructor for a class if no other constructors are provided.
Category: Core Java Date: 11/2/2010 5:55:46 PM
Core Java : What is daemon thread?

What is daemon thread?

It is theard that is running on the background and doesn't give any chance to run other threads once....
Category: Core Java Date: 11/2/2010 5:11:50 PM
Core Java : What is a thread group?

What is a thread group?

A thread group is a data structure that controls the state of collection of thread as a whole manage....
Category: Core Java Date: 11/2/2010 4:38:50 PM
Core Java : What happens when you add a double value to a String?

What happens when you add a double value to a String?

The result is a String object.
Category: Core Java Date: 11/2/2010 4:27:54 PM
Core Java : What classes of exceptions may be thrown by a throw statement?

What classes of exceptions may be thrown by a throw statement?

A throw statement may throw any expression that may be assigned to the Throwable type.
Category: Core Java Date: 11/2/2010 3:54:54 PM
 
Find Best Deals @