xonix Geschrieben 23. April 2009 Geschrieben 23. April 2009 Wofür dient das (Strin[] args)? Ich weiß das args argumente sind. Aber warum steht das da?
Kaeyu Geschrieben 23. April 2009 Geschrieben 23. April 2009 Google gibt die Antwort The main Method in Java by Richard G Baldwin The formal parameter args is an array of type String, which contains arguments entered at the command line. Note that the args parameter must be specified whether or not the user is required to enter a command-line argument and whether or not the code in the program actually makes use of the argument.
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren
Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde Dich hier an.
Jetzt anmelden