Why this code will print int?
public static void main(String[] args) { short s = 5; A(s); } public static void A(int a){ System.out.println(\"int
Because widening beats boxing
Reason:
Because widening was there long long before where boxing was introduced later on so not to break any code it does this.