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 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


Please Help Members By Posting Answers For Below Questions

What is profile in java?

921


What services can invoke lambda?

920


What is the difference between collection and stream?

951


What is a stream in programming?

878


What are the advantages of java sockets?

1148


Define network programming?

1125


What is a yaml file in java?

998


How do I run a project in netbeans?

949


Explain the reason for each keyword of public static void main(string args[])?

927


What happens if javac is not recognized?

889


Which framework is best for rest api java?

987


How do you count in java?

928


What is javax annotation generated?

959


Are the actual permissions for the application defined at run-time or compile-time? : java security

957


Can a method be static and synchronized?

1068