Erstellen Sie Klassendiagramm aus dem Java -Code
import java.util.*;
public class MathOperations {
public static void main(String[] args) {
int num1,num2;
Scanner sc = new Scanner(System.in);
System.out.print("Input first number : ");
num1 = sc.nextInt();
System.out.print("Input second number : ");
num2 = sc.nextInt();
System.out.println(num1 + " + " + num2 + " = " + (num1 + num2));
System.out.println(num1 + " - " + num2 + " = " + (num1 - num2));
System.out.println(num1 + " x " + num2 + " = " + (num1 * num2));
System.out.println(num1 + " / " + num2 + " = " + (num1 / num2));
System.out.println(num1 + " mod " + num2 + " = " + (num1 % num2));
}
}
lol