Scanner(基本用法初学)
package day01;
import java.util.Scanner;
public class Case05 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String str=sc.next();
int i=sc.nextInt();
System.out.println("I MISS"+" "+str+"!");
}
}
package day01;
import java.util.Scanner;
public class Case05 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String str=sc.next();
int i=sc.nextInt();
System.out.println("I MISS"+" "+str+"!");
}
}