Integer == int allowed in java

后端 未结 6 1033
自闭症患者
自闭症患者 2020-12-06 07:29

I was wondering if java automatically turns a Integer into an int when comparing to an int? Or will the == try and compare references on primitives?

Is this always t

6条回答
提交回复
热议问题