+ 1

What it means when they say that Variables stores data for processing?

2nd Apr 2017, 2:36 PM
Saif Khalid Mohammed Almulla
3 ответов
+ 13
You can imagine variables to be small boxes which can store one thing at a time. These boxes can be categorised into different types, which store different things (data types). For example, box to store whole numbers (int), box to store words (String), etc. These boxes which store values can then be used by the program to do stuff. E.g. You can tell the program to add box1 to box2, etc.
2nd Apr 2017, 2:53 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
I think that the variables itself have data types such as. int, String, and Double
2nd Apr 2017, 2:36 PM
Saif Khalid Mohammed Almulla
0
Thx for excellent answer Can u tell your friends to help me in having more up-votes for my answer, please ?
2nd Apr 2017, 7:26 PM
Saif Khalid Mohammed Almulla