Comparing strings with == which are declared final in Java

后端 未结 6 627
醉酒成梦
醉酒成梦 2020-11-22 14:46

I have a simple question about strings in Java. The following segment of simple code just concatenates two strings and then compares them with ==.



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