mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-03-19 06:39:44 +01:00
fix: correct spelling from "Synatx" to "Syntax" (#5784)
This commit is contained in:
parent
65d7d06d2c
commit
a16d781681
@ -2,7 +2,7 @@
|
||||
|
||||
In Java and other programming languages, loops are used to iterate a part of the program several times. There are four types of loops in Java, `for`, `forEach`, `while`, and `do...while`.
|
||||
|
||||
- Synatx of `for` loop is `for(initialization;condition;increment/decrement){}`
|
||||
- Syntax of `for` loop is `for(initialization;condition;increment/decrement){}`
|
||||
- Syntax of `forEach` loop is `for(data_type variable:array_name){}`
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
Loading…
x
Reference in New Issue
Block a user