why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?
Answer Posted / ritu joon
When java developer develop java language then they desiged it like that primitive data type character take 2 byte when it converted into Unicode..and c++ developer doesn't designed like that....
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is java bean class?
Explain the inheritance principle.
Please can anybody explain what exactly "the project architecture" means???
In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.
What is the purpose of jdk?
Can we install jre without jdk?
What is data encapsulation?
What is static class in java?
What is cdi in java?
What is gui in java with examples?
Is jprofiler open source?
What is lambda expression in mvc?
Explain suspend() method under thread class>
Is java an api?
What are jpa annotations?