0

Why character data type size is 2bytes in java

13th Feb 2017, 6:51 PM
Suresh Erragana
Suresh Erragana - avatar
2 Réponses
+ 12
Because it can hold values from 0 to 65,535. 1111 1111 1111 1111 bin = 65535 dec
16th May 2017, 8:43 PM
Tashi N
Tashi N - avatar
+ 1
I'm talking about why? not about it's range. what is the need.
29th May 2017, 8:43 AM
Suresh Erragana
Suresh Erragana - avatar