0

Please explain strings and booleans, i am finding it hard

6th Feb 2021, 1:27 PM
Wisdom chimeziem
Wisdom chimeziem - avatar
3 Answers
+ 1
Strings only know how to store strings "Hello" Boolean only knows how to store true or false Strings cannot store boolean Boolean cannot store Strings like it wouldent make sense to have a box specifically made to store a microwave inside but you try and fit a washing machine in there... it would brake the box because the space that is reserved inside that box is specifically made for a certain type of microwave . Look at data types to have a better understanding
6th Feb 2021, 2:32 PM
D_Stark
D_Stark - avatar
6th Feb 2021, 2:26 PM
#0009e7 [get]
#0009e7 [get] - avatar
- 1
searchbar.
6th Feb 2021, 1:45 PM
Rellot's screwdriver
Rellot's screwdriver - avatar