0
I always get confused in data types i. e long,double...is there any solution
4 Réponses
+ 14
Adding to Taste answer :
int -> integers [ whole numbers( 1, 2 , 3 , ...) , 0 , -ve integers(-1, -2, -3 , ...)]
+ 3
Lets make it simple
Float, Double -> decimal number
int -> whole number
long -> just like int, but can store long(er) value than int does
+ 2
Taste Let me also add that doubles have "double" precision than floats
0
I would find a decent reference or make up your own list; print this out and keep it on hand when coding.