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 -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -