解决方案 »

  1.   

    package com.hq.basic.dao.impl;public class FuelManagement { /**
     * @param args
     * @throws InterruptedException 
     */
    public static void main(String[] args) throws InterruptedException { AddFuel();
    }

    static void AddFuel() throws InterruptedException{
    System.err.println("欢迎进入加油管理系统!");
    System.err.println("....loading");
    Thread.sleep(5000);
    System.err.println("正在加油!");
    System.err.println("...请稍后");
    Thread.sleep(5000);
    System.err.println("加油完毕,你可以走了!");
    }}
    送你 
      

  2.   


    System.err.println("加油完毕,请到窗口付费!");