Created
July 10, 2014 17:21
-
-
Save jeeyoungk/b381543955ce04dad466 to your computer and use it in GitHub Desktop.
This file contains 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
/*bin/mkdir /tmp/crazy 2> /dev/null | |
javac -d /tmp/crazy $0 `dirname $0`/Main.java | |
java -cp /tmp/crazy Main "$@" | |
exit | |
*/ | |
import java.util.Calendar; | |
public class Main { | |
public static void main(String... args) { | |
System.out.println(Calendar.getInstance().get(Calendar.YEAR)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment