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

javascript - Add class to another page attribute using URL id - Jquery -

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -