3. Conditions and loops
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
Java uses if, else and switch for decisions, and for and while for loops. The syntax is close to JavaScript.
उदाहरण देखें
for (int i = 1; i <= 3; i++) {
System.out.println(i);
}