Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

In an htm form i have a button which makes us to open another page in 15sec.how will you do that?

1726


What is meant by java se?

880


What is meant by code profiling?

913


What is java lang noclassdeffounderror?

851


Explain suspend() method under thread class>

973


What is gpt and gpc? : java security

943


Why doesn’t the main method throw an error with no arguments?

874


What is java api?

835


How do I install eclipse?

879


What is jsr in java?

857


What is the difference between map and flatmap in java?

874


Is java a framework?

832


What happens when you omit a brace or misspell one of the words, like public or

832


What is contextpath in java?

843


Why doesn't lsdou work under windows nt? : java security

818