wie man java.util importiert
import java.util;
Vast Vole
import java.util;
// import <package> -> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;
import java.util.*;
class Main {
public static void main(String[] args) {
System.out.println("Sample Input");
Scanner sc= new Scanner(System.in);
System.out.print("Enter first number- 5 ");
int x= sc.nextInt();
System.out.print("Enter second number- 4");
int y= sc.nextInt();
int sum = x+y;
int sub = x-y;
System.out.println("Sample Outpur=" +"("+sub + "," + sum+")" );
}
}