|
|
|
Range and Values of Data Types
|
No. |
Character Literal |
Unicode Values |
Character |
|
1 |
'0' |
'\u0030' |
0 |
|
2 |
'1' |
\u0031' |
1 |
|
3 |
'9' |
\u0039' |
9 |
|
4 |
'A' |
\u0041' |
A |
|
5 |
'a' |
\u0061' |
a |
|
No. |
Escape Sequence |
Unicode Value |
|
1 |
\n |
\u000a |
|
2 |
\r |
\u000d |
|
No. |
int Range |
Decimal |
Octal |
Hexadecimal |
|
1 |
2 pow(31) - 1 |
2147483647 |
017777777777 |
0x7fffffff |
|
2 |
-2 pow(31) |
-2147483648 |
-020000000000 |
-0x80000000 |
|
No. |
Data Type |
Min Unicode Value |
Max Unicode Value |
|
1 |
char |
0x0 (\u0000) |
0xffff(\uffff) |
|
No. |
Data Type |
Min Positive Value |
Max Positive Value |
|
1 |
float |
1.4E-45 |
3.4e + 38 |
|
2 |
double |
4.9e-324 |
1.79e + 308 |
|
|
Let The World Know How Knowledgeable You
Are By
sharing Your Knowledge With Others If you would like to share your knowledge
relating to Technology, you can send it to us at
dailyquestion@techstudentsworld.com. If it is good, it will be published in this
site along with your name or picture. |
Copyright © 2008, Techstudentsworld.com. All Rights
Reserved.
|
|
|