Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:请问一下用java的话是用什么条件来表示输入结束?请高手们帮帮我这个菜鸟~~~In Reply To:请问一下用java的话是用什么条件来表示输入结束?请高手们帮帮我这个菜鸟~~~ Posted by:sinceow at 2010-04-18 11:08:33 > 题里面好像都没给出用来表示输入停止的标志,那我要怎么才能表示我的输入已经结束? Scanner cin=new Scanner(System.in); if(cin.hasNext()) ................................ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator