What is stored in a boolean variable in Java ? (as per the memory, bit patterns) -


i googled , found virtual machine dependent. still in ways ?

boolean type converted int

there no java virtual machine instructions solely dedicated operations on boolean values. instead, expressions in java programming language operate on boolean values compiled use values of java virtual machine int data type.

you can read more in javadoc


Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -