- 博客(7)
- 收藏
- 关注
原创 自学打卡 java之线程类
一、 package practice; //获取当前运行的线程 public class Chapter9 { public static void main(String args[]) { String name; int p; Thread curr; curr=Thread.curr...
2020-04-23 15:27:57
156
原创 输入输出处理 练习5
package practice; import java.io.*; import java.util.Date; public class Chapter8 { boolean compare(String filename1,String filename2)throws Exception { File f1=new File(filename1); ...
2020-04-22 14:17:26
358
原创 输入输出处理 练习4
package practice; import java.io.*; import java.util.Date; public class Chapter8 { void check(String filename,String str)throws Exception { File f=new File(filename); //封装文件...
2020-04-21 20:08:57
276
原创 输入输出处理 练习3
package practice; import java.io.*; import java.util.Date; class read{ int countLine(String filename) throws Exception{ //抛出异常 File f=new File(filename); //封装文件 I...
2020-04-21 19:18:50
195
原创 输出输入处理 练习2
package practice; import java.io.*; import java.util.Date; class read{ int countLine(String filename) throws Exception{ //抛出异常 File f=new File(filename); //封装文件 I...
2020-04-21 19:04:48
214
原创 输入输出处理 练习1
package practice; import java.io.*; import java.util.Date; class read{ int countLine(String filename) throws Exception{ //抛出异常 File f=new File(filename); //封装文件 Inp...
2020-04-20 18:50:29
296
原创 自学打卡 Java之对象序列化
对象序列化 package practice; import java.io.*; import java.util.Date; class employee implements Serializable{ //Serialzable是一个接口 private String name; //姓名 private double salary; //薪水 private Dat...
2020-04-19 16:58:21
168
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅