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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

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