Yes - because itβs Doublemore specific than Object. There is a conversion from Doubleto Object, but not vice versa, which makes it more specific.
See section 15.12.2.5 JLS for more information. The details are pretty hard to complete, but it helps:
, , , , , , .
, display(Double doub) display(Object obj), .