For performance reasons and memory saving. Plus , the fact that the numbers are precise with no decimal values is very handy for a lot of cases.
3
solved Why do we have int type in Java? [closed]
For performance reasons and memory saving. Plus , the fact that the numbers are precise with no decimal values is very handy for a lot of cases.
3
solved Why do we have int type in Java? [closed]