322 B
322 B
Types Of Variables
outlines how these work under the hood i guess...
Boolean
Under the hood its basically just an int... with a value of either 1 or 0 (1 being true 0 being false)
for example if you wanted to set an int to 1 technically you can do this int Example = true as a boolean is just an int internally.