Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 28, 2019 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/70d9a5aa3a44dbb9d64d10f654d45369 to your computer and use it in GitHub Desktop.
Save parzibyte/70d9a5aa3a44dbb9d64d10f654d45369 to your computer and use it in GitHub Desktop.
/**
Demostración y uso de argumentos
en Java
@author parzibyte
*/
class Argumentos {
public static void main(String[] argumentos) {
System.out.println("Hola mundo.");
for (int x = 0; x < argumentos.length; x++) {
System.out.println("El argumento en " + x + " es " + argumentos[x]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment