Why do we have int type in Java? -


why have int type in java? couldn't numeric type double (and maybe float)? can keep integer number in variable of type double.

for performance reasons , memory saving. plus , fact numbers precise no decimal values handy lot of cases.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -