This commit is contained in:
Fechin committed 2023-06-15 10:37:46 +08:00
1 parent 44cb045a37
commit 19a9e9c0c6
17 files changed
+40 -57

No files matched your search

+2 -2
View File
@@ -77,11 +77,11 @@ See: [Strings](#java-strings)
### Loops
```java
String word = "QuickRef";
String word = "CheatSheets";
for (char c: word.toCharArray()) {
System.out.print(c + "-");
}
// Outputs: Q-u-i-c-k-R-e-f-
// Outputs: C-h-e-a-t-S-h-e-e-t-s-
```
See: [Loops](#java-loops)