why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?
Answer Posted / chandan singh
It is because C and C++ has limited set of characters. But java has all the character which are used in the whole world. like chineese language itself has 126 character. Every character has unique code and it is defined by Unicode system. Similarly java supports many many other characters but C and C++ don't.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to reverse the singly linked list(In Node data members are(int data,int pointerTONext))
How do I run a java project in netbeans?
What is repository pattern in java?
How do I run a java program from the command line?
Why serialization is used in java?
What is an actionevent in java?
What is a flatmap?
Why are lambda functions called lambda?
What is meant by annotation in java?
What is web xml java?
What is crud operations in java?
What is gpt and gpc? : java security
Who developed rxjava?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
What is ioexception in java?