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

Describe the principles of oops.

841


Can we write lambda without functional interface?

842


What is injection in java?

883


What is an interceptor in java?

788


What is the first argument of the string array in main method?

908


What is meant by swing in java?

888


In system.out.println(), what is system, out and println?

955


I run a web server. Am I at risk? : java security

839


Is jdk a compiler?

788


Are jvm’s platform independent?

845


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

2152


What is jndi datasource in java?

844


How do I install java on windows?

856


How do I run a java program from the command line?

900


What is meant by java se?

881