File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes boolean variable... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
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: 986

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://aspose.com/file-tools
 
subject: boolean variable...