Created
April 19, 2020 10:29
-
-
Save kmizu/a5dade3b1c618bfa0d7de12bdde95e21 to your computer and use it in GitHub Desktop.
Indent-based Java (Thought Experiment)
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
package for | |
public class For: | |
public static void main(String[] args): | |
for(int i = 0; i < 10; i++): | |
System.out.println(i) |
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
package hello | |
public class Hello: | |
public static void main(String[] args): | |
System.out.println("Hello, World!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment