- #1
jackylaucf
- 3
- 0
Hiya! I am a beginner in programming and I am now having a java course in college... In the first few lessons, we are taught that programming involves declaration of variables and variables are classified into several categories (e.g. int, float, boolean, double, etc.). I wonder why we have to classify the variables. For example, why do we separate int and float? why not we put them into the same category,let say "number"? This question may sound stupid.. but as a beginner, i am really not clear about how the computer works
Thank you so much!
Thank you so much!