- 博客(5)
- 收藏
- 关注
原创 h2j
packagestream; importjava.io.File; importjava.io.FileReader; importjava.io.FileWriter; importjava.io.IOException; publicclassTestStream { /** * * @param encodingFile * 被加密的文件 * @param encodedFile ...
2021-05-11 14:37:57
178
原创 h2j IO答案
packagefile; importjava.io.File; publicclassTestFile { publicstaticvoidmain(String[] args) { File f =newFile("c:\\windows"); File[] fs = f.listFiles(); if(null==fs) return; lon...
2021-05-10 15:21:39
153
原创 2021-05-10
packagefile; importjava.io.File; importjava.io.IOException; publicclassTestFile { publicstaticvoidmain(String[] args)throwsIOException { File f =newFile("d:/LOLFolder/skin/garen.ski"); // 以字符串数组的形式,...
2021-05-10 15:19:35
78
原创 h2j异常处理综合练习答案
package exception; public class Account { protected double balance; public Account(double balance) { this.balance = balance; } public double getBalance() { return balance; } public void deposi...
2021-05-07 15:38:44
124
原创 h2j的自定义异常答案
package character; import exception.IndexIsNagetiveException; import exception.IndexIsOutofRangeException; public class MyStringBuffer implements IStringBuffer { int capacity = 16; int length = 0; char[] value; public MyStringBuffer...
2021-05-07 15:35:18
261
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人