Java 制作给定时间的倒计时器 首先创建倒计时器类 public class NSTimer { private int hh; //小时 private int mm; //分钟 private int ss; //秒 //设置倒计时数 void setTime(int h,int m,int s) throws TimeException{ if(m>=60||s>=60){ throw new TimeException("!注意分钟和秒必须小于60!"); //自定义的异常 }else{ this.hh=h; this.mm=m; this.ss