What is <
This question already has an answer here:
<-- is not a new Java operator (even though it may look like it), but there are 2 normal operators: < and --
while (var2 <-- var1) is the same as while(var2 < (--var1)) , which can be translated to plain english as:
var1 variable ( --var is a prefix decrementation, ie. decrement the variable before condition validation) var2 < var1 <-- There is no such operator in java.
It is var2 < (--var1) A relational + decrement operator.
上一篇: >在Java中意味着什么?
下一篇: 什么是<
