Created
October 22, 2016 17:30
-
-
Save mkuehle/5247247bfd3cc6f9dd114d36d71658ce to your computer and use it in GitHub Desktop.
Medium Source Code Block Beispiel
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 io.coodoo.medium; | |
/** | |
* @author Markus | |
*/ | |
public class MediumSourceCodeExample { | |
private static int answer = 42; | |
/** | |
* Es sollte jede Methode kommentiert werden. | |
* | |
* @param args | |
* die Parameter | |
*/ | |
public static void main(String[] args) { | |
// Das ist ein wichtiger Kommentar | |
System.out.println("Hello Medium World"); | |
// Wie lautet die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest? | |
System.out.println(answer); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment