My problem is getting different results of a calculation with using parenthesis and without parenthesis.
When i run this line of code, i get the result as above.
Result is = 12345678987654321
But when i run this, i get a weird result.
Result is = 1653732529
I know that if you do not use casting to long type, you will loose some data because the operations on
Java is calculated in integers, right?
Any idea what is going on here?