Originally posted by Chacko Kallarackan:
On what basis can we predict that this particular method will be called ?? Is there any order of pushing these arguments?? I know in C the arguments are pushed in to the stack from right to left?? Is it same in JAVA also??
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
On the other hand, there is no such relationship between add(int, long, long) and add(long, int, int) - you can both find a parameter list that is valid for the first but not the second, *and* the other way round. Therefore your call with three int parameters was ambigous.
Consider Paul's rocket mass heater. |