資源簡介
用java語言實現的駕校預約系統,在eclipse中測試通過,可做java大作業項目的參考。
design.docx: 設計要求;
src: 源碼
doc:javadoc文檔
run.bat: 批處理通過jar包方式可直接點擊運行。
test1.bat、test2.bat:自己寫的測試用例
代碼片段和文件信息
import?java.io.BufferedReader;
import?java.io.FileReader;
import?java.io.IOException;
import?java.text.*;
import?java.util.ArrayList;
import?java.util.Scanner;
import?appointment.service.Service;
/**
?*?駕校預約管理系統主程序
?*?@author?ccg
?*?@since?1.0
?*/
public?class?AppointmentService?{
/**
?*?程序主方法
?*?@param?args?參數
?*?@throws?ParseException 拋出日期格式異常
?*?@throws?IOException 拋出IO異常
?*/
public?static?void?main(String[]?args)?throws?ParseException??IOException{
Service?serve?=?new?Service();
SimpleDateFormat?sdf?=?new?SimpleDateFormat(“yyyy-MM-dd?HH:mm:ss“);
System.out.println(“ 歡迎來到駕校預約系統“);
Scanner?reader?=?new?Scanner(System.in);
while(true)?{
System.out.print(“$“);
String[]?command?=?null;
if(args.length?==?0)?{ //若主函數沒有傳入參數,則讀取
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????232??2018-06-08?15:17??.classpath
?????文件?????????414??2018-06-21?22:00??.project
?????目錄???????????0??2018-06-21?22:03??bin\
?????文件????????5205??2018-06-21?22:03??bin\AppointmentService.class
?????目錄???????????0??2018-06-21?22:03??bin\appointment\
?????目錄???????????0??2018-06-21?22:03??bin\appointment\service\
?????文件????????7688??2018-06-21?22:03??bin\appointment\service\Service.class
?????目錄???????????0??2018-06-21?22:03??bin\appointment\user\
?????文件????????1420??2018-06-21?22:03??bin\appointment\user\Arrangement.class
?????文件????????2106??2018-06-21?22:03??bin\appointment\user\Contract.class
?????文件????????1103??2018-06-21?22:03??bin\appointment\user\User.class
?????文件?????????115??2018-06-11?20:35??build.bat
?????文件??????185290??2018-06-12?19:19??design.docx
?????目錄???????????0??2018-06-21?21:57??doc\
?????文件????????8890??2018-06-12?16:12??doc\AppointmentService.html
?????文件????????1116??2018-06-12?16:12??doc\allclasses-fr
?????文件????????1016??2018-06-12?16:12??doc\allclasses-nofr
?????目錄???????????0??2018-06-21?21:57??doc\appointment\
?????目錄???????????0??2018-06-21?21:57??doc\appointment\service\
?????文件???????16654??2018-06-12?16:12??doc\appointment\service\Service.html
?????目錄???????????0??2018-06-21?21:57??doc\appointment\service\class-use\
?????文件????????4176??2018-06-12?16:12??doc\appointment\service\class-use\Service.html
?????文件?????????790??2018-06-12?16:12??doc\appointment\service\package-fr
?????文件????????4664??2018-06-12?16:12??doc\appointment\service\package-summary.html
?????文件????????4405??2018-06-12?16:12??doc\appointment\service\package-tree.html
?????文件????????3921??2018-06-12?16:12??doc\appointment\service\package-use.html
?????目錄???????????0??2018-06-21?21:57??doc\appointment\user\
?????文件???????14731??2018-06-12?16:12??doc\appointment\user\Arrangement.html
?????文件???????19083??2018-06-12?16:12??doc\appointment\user\Contract.html
?????文件???????13235??2018-06-12?16:12??doc\appointment\user\User.html
?????目錄???????????0??2018-06-21?21:57??doc\appointment\user\class-use\
............此處省略49個文件信息
評論
共有 條評論