0
Please explain strings and booleans, i am finding it hard
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
0
Watch this question: https://www.sololearn.com/Discuss/337706/?ref=app
- 1
searchbar.