Created
January 12, 2015 19:57
-
-
Save donlindsay/1da587b5a0ad4b1b7484 to your computer and use it in GitHub Desktop.
java code block example
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
*** java code block | |
:PROPERTIES: | |
:DATE: 2011-07-19 | |
:END: | |
#+begin_src java :classname myfirstjavaprog | |
class myfirstjavaprog | |
{ | |
public static void main(String args[]) | |
{ | |
System.out.println("Hello World!"); | |
} | |
} | |
#+end_src | |
#+RESULTS: | |
: Hello World! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typing C-c C-c within the code block results in evaluation of the code snippet printed after the #+RESULTS: tag.