I googled it and I found that it is virtual machine dependent. But still in what ways ?
1 Answer
boolean type will be converted to int
There are no Java Virtual Machine instructions solely dedicated to operations on boolean values. Instead, expressions in the Java programming language that operate on boolean values are compiled to use values of the Java Virtual Machine int data type.
You can read more in JavaDoc
typedef int boolby defining 1 as true and 0 as false. So I think here is the same and it changes depending on the arch.