Practice on Io flow in Java

Exercise 1: count a file calccharnum The total number of occurrences of letters' a 'and' a 'in txt.

Exercise 2: create a file called helloword under the e disk of the computer Txt file,

Determine whether it is a file or a directory,

Create another directory iotest,

Then HelloWorld Txt to the iotest directory,

Then traverse the files in the iotest directory.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>