salut ;
j'ai pas pu corrigé cet exception:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
voilà le code:
public class InsertProcess {
public void InsertProc(String nom, float deg, int occ){
}
public static void main(String[]args ){
System.out.println(args.length);
String nom=args[0] ;
Float deg=Float.parseFloat(args[1]) ;
int occ=Integer.parseInt(args[2]) ;
InsertProcess insertp= new InsertProcess();
insertp.InsertProc(nom,deg,occ);
}
}