How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Answer / Tejvir Singh
Unicode characters can be represented using 16 to 21 bits. ASCII uses 7 bits for representing characters (extended ASCII uses 8 bits). UTF-16 uses 16 bits or 32 bits to represent a Unicode character, while UTF-8 uses variable-length sequences of 1 to 4 bytes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain serialization and deserialization in java?
What is casting?
what is abstract method with example?
What is a substitution variable?
How do I type unicode?
What are E and PI?
What is charat java?
Without creating a new object, How you can retrieve a String or other object?
If we don’t want some of the fields not to serialize how to do that?
What is isa relationship?
Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types
Explain Basics of OOP Language in java