I've wrote the following code.
Now the output I'm getting is :-
Integer method result=7
Double method result=11.52
Double method result=7.6
Double method result=7.6
I am really confused about how java resolves the method calls.Why am I getting this output?.Please help.
Thanks in advance.