/数据输入/
import java.util.Scanner;
public class scannerDemo01{
public static void main(String[]args);
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
System.out.println(x);
}
javac scannerDemo01.java
scannerDemo01.java:7: 错误: 需要<标识符>
System.out.println(x);
^
scannerDemo01.java:7: 错误: 需要<标识符>
System.out.println(x);
^
2 个错误