aspose file tools
The moose likes Beginning Java and the fly likes boolean variable... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "boolean variable..." Watch "boolean variable..." New topic
Author

boolean variable...

Manjunath Subramanian
Ranch Hand

Joined: Jul 18, 2001
Posts: 236

Hello Everbody,
Can some body tell me the size of a boolean
variable?
thanks,
Manjunath
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

1 bit.


Please ignore post, I have no idea what I am talking about.
Jason Ford
Ranch Hand

Joined: Aug 02, 2001
Posts: 54
We just discussed this the other day:
Boolean value
There's also a brief treatment at the campfire:
boolean - hmmmm... you're not supposed to ask. It holds a value of true or false, but it's really stored as a numeric value, probably in a byte-sized cup. Try not to think about the size; all you know is that it holds a boolean.
Cup Size
[This message has been edited by Jason Ford (edited August 07, 2001).]


SCJP, SCWCD
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: boolean variable...
 
Similar Threads
Stop a thread
boolean Variable Size?
boolean and lock?
Reference equality for Boolean reference value
strange syntax