Ich habe eine frage zum meinem folgenden Code.
Code (Text):
public static void main(String[] args) {
// TODO Auto-generated method stub
long x = 0;
if(args.length == 1){
x = Long.parseLong(args[0]);
}
else{
System.err.println("Fehler bei Kommandoübergabe!");
}
System.out.println(fact(x));
}
public static long add(long x, long y){
return x + y;
}
public static long mult(long x,...
// TODO Auto-generated method stub
long x = 0;
if(args.length == 1){
x = Long.parseLong(args[0]);
}
else{
System.err.println("Fehler bei Kommandoübergabe!");
}
System.out.println(fact(x));
}
public static long add(long x, long y){
return x + y;
}
public static long mult(long x,...
Warum so nur Fakultät nur bis 8?