why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?
Answer Posted / chandan
Java was created around the time when the Unicode standard had values defined for a much smaller set of characters. Back then it was felt that 16-bits would be more than enough to encode all the characters that would ever be needed. With that in mind Java was designed to use UTF-16. In fact, the char data type was originally used to be able to represent a 16-bit Unicode code point.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance
What is meant by annotation in java?
In hibernate what is the difference between the Session and SessionFactory?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i What is stateless class in java? What is cookie in java? What is the difference between collection and stream? Can we write lambda without functional interface? What is the difference between ec2 and lambda? What is a container in java? What happens when you omit a brace or misspell one of the words, like public or What is data encapsulation? What are the Advantages of java se 8 new features? What are the advantages of java sockets? How do I run a java project?