package com.fu;
import com.sun.org.apache.xpath.internal.SourceTree;
import java.util.Scanner;
/**
* @auther 付强
* @date 2020/2/12 - 11:27
*/
public class xindejava {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
System.out.println("请输入一个数据");
if(scanner.hasNext()){
System.out.println("输出"+scanner.next());
}
scanner.close();
}
}