My DokuWiki sandbox
[[java]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

java [2009/03/28 09:41] (current)
Line 1: Line 1:
 +<code java>
 +/** 
 + * The HelloWorldApp class implements an application that
 + * simply displays "Hello World!" to the standard output.
 + */
 +class HelloWorldApp {
 +    public static void main(String[] args) {
 +        System.out.println("Hello World!"); //Display the string.
 +    }
 +}
 +</code>
  
 +<code python>
 +
 +def f(a):
 +    for i in range(5):
 +         yield i
 +    return
 +
 +</code>
java.txt ยท Last modified: 2009/03/28 09:41 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki