0
public class Program { public static void main(String[] args) { for(int x=2; x< 10; x=x*x) { System.out.
how it works
2 Respostas
+ 1
in for loop, if below is the structure,
"FOR( A, B, D){
C
}"
then the flow is A will be first executed, then B condition will be evaluated, if true then C body will be executed, then D will be executed, then again loop goes back to B
+ 1
thanks bro karthik..