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 - MPAndroidChart - How to add Annotations or images to the chart -

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

firefox - Where is 'webgl.osmesalib' parameter? -