标签:can str public [] sys ring ext oid port
package io;
import java.util.*;
public class useScanner {
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
System.out.println("请输入你的姓名:");
String name=in.nextLine();
System.out.println("请输入你的年龄:");
int age=in.nextInt();
System.out.println("请输入你的身高(单位:米):");
double height=in.nextDouble();
System.out.println("姓名:"+name+"年龄:"+age+"身高:"+height);
}
}
标签:can str public [] sys ring ext oid port
原文地址:http://www.cnblogs.com/m2492565210/p/7466092.html