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

Bcz of the JVM internally representing the character in
Hexadecimal system.That's why it is using 2 byte instead of
1 byte.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is javax annotation generated?

936


What is stateless in java?

993


Can I have multiple main methods in the same class?

882


explain how java se 8 data and time api solves issues of old java date api?

939


What does public static void main(string[]) mean?

1070


there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.

3017


What is a bean class?

870


can a program use more than one command-line argument?

945


Can an application have multiple classes having main method?

921


What's a code group? : java security

925


What is jdk for netbeans ide?

1010


What is type_scroll_insensitive in java?

899


Explain the encapsulation principle.

904


What is lazy loading in jpa?

861


Are streams faster than for loops?

908