How java allows to add Integer and Double instance?

Viewed 11176

What internally happens at the 3rd line when I execute the following code

Integer i=1; 
Double d1=1.1; 
Double d2= i+d1;
3 Answers
Related