A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how many bits premitive boolean take ?
Joined: Apr 04, 2001
Jun 20, 2001 03:26:00
In Thinking in
it is written that boolean type variable take 1 bit. but in Heller's book it is written that it takes 8 bit. which one is right.
Joined: Jun 20, 2001
Jun 20, 2001 03:53:00
Hi, Booleans will take 1byte or 8bits size of memory size. O.k i think it's some wrong printing. I think so.
I agree. Here's the link:
subject: how many bits premitive boolean take ?
How "boolean" work?
BLISS, the language (was "Truely Meaningless")
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014