今天新学的但是有错误,无法编译
public class Example1{public static void main(String[]args);{
Scanner input = new Scanner(System.in);
int x,y;
System.out.println("Enter an integer");
x = input.nextInt();
System.out.println("Enter another integer");
y = input.nextInt();
System.out.println("the sum of"+x+"and"+y+"is"+(x+y));
System.out.println("the product of"+x+"and"+y+"is"+(x*y));
}
}