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+"!");
}
}
posted @ 2019-04-08 14:06  py-clj  阅读(266)  评论(0编辑  收藏  举报