expression problem

"Niket Anand" <[email protected]> Thu, 10 Oct 2002 13:53:52 +0530
Newsgroups gmane.comp.java.jel.general
Message-ID <00b901c27036$6fc68020$3ccc09c0@niket>
Hello,
I tried to run Calculator class as
java Calculator 22222*100000

it returns the value as -2072767296
which is wrong.
and if I do like this (with one 0 less in 100000)
java Calculator 22222*10000
it returns 222220000 (which is right)
Please justify where am I going wrong.

Thanks,
Niket