j'ai une petite question toute bete en java :
public static void main (String[] args)
Comment faire pour savoir si la personne qui lance le pgm le lance bien avec 2 arguments ? (args[0] et args[1])
Publicité
Posté le 14-03-2004 à 23:52:21
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2004 à 00:02:38
args.length
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.