I came across below snippet. It outputs to 4 3 2 1
I never came across <--
in Java.
Is <--
an operator that makes the value of var1 to var2?
public class Test {
public static void main(String[] args) {
int var1 = 5, var2 = 0;
while (var2 <-- var1) {
System.out.print(" " + var1);
}
}
}