1)short array cannot be assigned to Short array and hence compiler clearly chooses short...s rather than Short...s
2)Short array cannot be assigned to short array and hence compiler clearly chooses Short...s rather than short...s
But here we are only using 1 => only short, so according to your explanation we should be choosing short... only.
Then why is there ambiguity?
Are you saying that short can be boxed to Short (Short...) (Boxing)
and short can also be considered as short... (Var Args)
Hence there are two answers??
But I dont think this explanation is correct.