我怎么会花时间不显示 [英] How I will get time it's not displaying

查看:63
本文介绍了我怎么会花时间不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我尝试了什么: 

所以我的问题是我正在尝试使用linebyline来读取文本文件并试图找时间。但是我不知道那是什么问题

解决方案

不应该这个



引用:

while(linReader.hasNext())





be



 while(linReader.hasNext  Line ())


What I have tried:

So my question is I am trying to use linebyline to read a text file and trying to find time . But I don't know what's wrong with that

解决方案

shouldnt this

Quote:

while (linReader.hasNext())



be

while (linReader.hasNextLine())


这篇关于我怎么会花时间不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆