L
lonelyplanet999
Hi,
I'm studying 310-035 exam. The textbook available said that long data
type variable is of 64 bits (so are double type variable). However,
when I tested program in my Pentium 166 notebook w/ windows 98 OS, I
found that long data variable is only of 32 bits wide.
I found operation 1<<32 output 1 instead of 2 to the power of 32.
I would like to ask will java support 64 bits variables only if the
computer hardware (e.g. processor, data bus) supports 64 bits data
transfer ?
Tks
I'm studying 310-035 exam. The textbook available said that long data
type variable is of 64 bits (so are double type variable). However,
when I tested program in my Pentium 166 notebook w/ windows 98 OS, I
found that long data variable is only of 32 bits wide.
I found operation 1<<32 output 1 instead of 2 to the power of 32.
I would like to ask will java support 64 bits variables only if the
computer hardware (e.g. processor, data bus) supports 64 bits data
transfer ?
Tks