Created
October 19, 2019 01:40
-
-
Save behumble/c21744303aa31a18952e88a74893f62f to your computer and use it in GitHub Desktop.
Java for-each loop which doesn't compile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ForLoop { | |
public static void main(String[] args) { | |
for(char c : "Hello") { | |
System.out.println(c); | |
} | |
} | |
} |
Author
behumble
commented
Oct 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment