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

IF statement in MySQL trigger -

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

android - MPAndroidChart - How to add Annotations or images to the chart -