等待控制台输入
//package com.nowjava; import java.util.Scanner;/**来自 时代Java - nowjava.com**/ public class Main { public static void main(String[] argv) throws Exception { waitForInput(); } public static void waitForInput() { Scanner scanner = new Scanner(System.in); scanner.nextLine(); } }