|
import java.util.Scanner;
import java.util.Scanner.*;
import java.io.*;
class Test{
public static void main(String args[]){
Scanner in=new Scanner(System.in);//????
String name=in.nextLine();
String firstname=in.next();
System.out.println(name+" "+firstname);
}
}
Compilation shows Severity and Description Path Resource Location Creation Time Id
Scanner cannot be resolved to a type Test Test.java line 5 1168064887935 1
Scanner cannot be resolved to a type Test Test.java line 5 1168064887935 2
excuse me, can you tell me the reason? |
|