I don't know what ist wrong, it can read it, but then it tells me Index 1 out of bounds for length 0. What does it mean?
public class Kreisberechnung3 {
  public static void main(String[] args) {
    String einheit = args[1];
    double radius = Double.parseDouble(args[0]);
    double umfang = 2.0 * 3.1415926 * radius;
    double flaeche = 3.1415926 * radius * radius;
    System.out.print("Umfang: ");
    System.out.print(umfang);
    System.out.println(" " + einheit);
    System.out.print("Fläche: ");
    System.out.print(flaeche);
    System.out.println(" " + einheit + '\u00b2');
  }
}
 
    