a) boolean b1 = 1;
b) boolean b2 = ‘false’;
c) boolean b3 = false;
d) boolean b4 = ‘true’
Which one is a valid declaration of a boolean?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which one is a valid declaration of a boolean?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!