vendredi 6 janvier 2023

Why does this boolean gives null value? [closed]

booleans giving 2 differents answers

Hi, I would like to know why those 2 booleans give me 2 differents answers ?

                Boolean b1 = CheckBox.getvalue();
                boolean b2 = CheckBox2.getvalue();
                
                System.err.println(b1); // NULL
                System.err.println(b2); // false



Aucun commentaire:

Enregistrer un commentaire