//Das ist ein Kommentar
//Das Grundgerüst
package hallowelt; // Ein Paket wird angelegt: Pakete können verschiedene Funktionen enthalten
import java.util.*; // So wird ein Paket importiert in diesem fall das Grundpaket java und das Unterpaket util
/**
* Das ist ein Kommentar im javadoc Stiel
*dieser hilft bei der Dokumentation der Programme
*/
public class hallowelt{ //So wird eine Klasse definiert
public static void main(String[] args) { //So wird die eine Methode angelegt hier die Hauptprogramm-Methode main
//Hier findet nun die Programmierung Statt.
}
}
English:
//This is a comment
//The basic framework
package hallowelt; // A package is created: Packages can contain different functions
import java.util.*; // This is how a package is imported in this case the basic package java and the subpackage util
/**
* That's a comment in the javadoc style
*this one helps with the documentation of the programs
*/
public class hallowelt{ //So a class is defined
public static void main(String[] args) { //So the one method is created here the main program method main
//The programming now takes place here.
}
}
Translated with www.DeepL.com/Translator