Originally posted by PK Ghosh: Can anyone help me to provide correct answer: Which one get preference on "Widening" or "AutoBoxing/Unboxing" for example: Long x = 32L float y=32.0f if(x==y){ } is it long converted to float ? I am confisued!