Parallel assignment in Java?

Does java have a python like [a, B, C] = (1,2,3) or PHP list ($a, $B, $C) = array (1,3)?

Solution

It's not true You can use x = y = 0 to set several variables, but you cannot assign values in parallel like python

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>