📜  在Java代码示例中读取双精度后的字符串

📅  最后修改于: 2022-03-11 14:52:41.309000             🧑  作者: Mango

代码示例1
myInt = scan.nextInt();
myDouble = scan.nextDouble();
scan.nextLine(); // Skip the remainder of the double line
myString = scan.nextLine();