0

What is a variable please?

8th Oct 2018, 6:29 AM
Nathan
3 Answers
+ 3
a variable is an value that is not fixed that can be replaced just like the name suggest we can compare a variable with a drawer you can put something there then you can take it off and put something new in their place. hope you understand it c:
8th Oct 2018, 7:09 AM
Caroline Marx
Caroline Marx - avatar
+ 2
following the analogy with strongly typed languages... the drawer should only hold objects of one type; if its a drawer of books, you can only place books, not any other thing
8th Oct 2018, 7:37 AM
Bebida Roja
Bebida Roja - avatar
+ 1
thank you very much
8th Oct 2018, 7:50 AM
Nathan