package API使用及概述; import java.util.Scanner; public class API { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double f = sc.nextDouble(); System.out.println("输入的数据为:" + f); } }