This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes boolean size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "boolean size" Watch "boolean size" New topic
Author

boolean size

Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
Size of boolean in bits = 1 (T/F)
I think the above statement is false, since boolean bit size is JVM dependent.
Am I right?
Thanks.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
The answer is neither true nor false. The answer is undefined. The JLS does not require a specific size for a boolean.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
Interesting
vigor lee
Greenhorn

Joined: Nov 01, 2003
Posts: 5
Interesting
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: boolean size