mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 21:44:45 +03:00
logo
This commit is contained in:
1 parent
44cb045a37
commit
19a9e9c0c6
17 files changed
+40
-57
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user