Skip to content

Instantly share code, notes, and snippets.

@lnsp
Last active August 29, 2015 14:17
Show Gist options
  • Save lnsp/eb940b444f1218217995 to your computer and use it in GitHub Desktop.
Save lnsp/eb940b444f1218217995 to your computer and use it in GitHub Desktop.
Einstieg in die Programmierung - Folge 2
// package [Paketpfad]
package io.mooxmirror.javakurs2;
// öffentliche Klasse 'HalloWelt'
public class HalloWelt {
// Einstiegsmethode 'main(String[] args)', muss vorhanden sein!
public static void main(String[] args) {
// Gebe Text 'Hallo Welt!' aus!
System.out.println("Hallo Welt!");
// Aufgabe: Versuche doch mal den Text innerhalb der Anführungszeichen zu ändern
// und schaue was passiert!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment