Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:为何我的总是Runtime Error? (java)

Posted by FinalLaugh at 2005-10-24 23:26:17 on Problem 2680
In Reply To:为何我的总是Runtime Error? (java) Posted by:sza at 2005-10-23 12:02:09
不要用package,用Scanner.hasNext()方法判断是否文件结束,而不是在循环内生成新的Scanner对象

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator