0

public class Program { public static void main(String[] args) { for(int x=2; x< 10; x=x*x) { System.out.

how it works

19th Mar 2017, 6:50 AM
naveen roshan
naveen roshan - avatar
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
19th Mar 2017, 6:57 AM
Karthik M S
Karthik M S - avatar
+ 1
thanks bro karthik..
19th Mar 2017, 7:03 AM
naveen roshan
naveen roshan - avatar