Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
According to http://www.ibiblio.org/javafaq/javafaq.html, the size of boolean is 1 bit(!), not one byte, making it very efficient. An array is an instance of java.lang.reflect.Array. > Can someone help me with the size of a boolean variable in Java. I read somewhere that it is one byte but I am unable to confirm it.
Replies: |
Sponsored Links
|