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
What is javax annotation generated?
What is stateless in java?
Can I have multiple main methods in the same class?
explain how java se 8 data and time api solves issues of old java date api?
What does public static void main(string[]) mean?
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.
What is a bean class?
can a program use more than one command-line argument?
Can an application have multiple classes having main method?
What's a code group? : java security
What is jdk for netbeans ide?
What is type_scroll_insensitive in java?
Explain the encapsulation principle.
What is lazy loading in jpa?
Are streams faster than for loops?