预见未来to50的专栏

Life is limited, but art is long

Java源码——一个简单的应收账款文件合并程序 (Master file update in accounts receivable system)-Part1

没想到Java how to program的第十五章:文件、流及对象序列化的习题有这么难,让我从十一点端坐电脑前苦苦调试代码到早晨五点。 问题出在文件匹配的逻辑实现上,也就是算法问题。 好在,早上花时间梳理了一下逻辑,确定了算法:用两段嵌套循环分别实现newmast文件和log文件的写入,而...

2017-05-02 23:41:50

阅读数:1247

评论数:0

JHTP自测题_第十五章_文件、流和对象序列化(Files, Streams, and Object Serialization)

Self-Review Exercises  15.1 Determine whether each of the following statements is true or false. If false, explain why.  a) You must e...

2017-05-02 00:11:43

阅读数:357

评论数:0

JHTP小结_第十五章_文件、流和对象序列化(Files, Streams, and Object Serialization)

Summary Section 15.1 Introduction • Computers use files for long-term retention of large amounts ofpersistent data (p. 645), even after the progr...

2017-05-01 23:50:38

阅读数:299

评论数:0

Java源码——使用JFileChooser获取文件及目录信息(Obtain file and directory information)

代码如下: 1. FileAndDirectoryInfo类(获取文件及目录信息) // Fig. 15.2: FileAndDirectoryInfo.java // File class used to obtain file and directory information. pack...

2017-05-01 23:03:25

阅读数:620

评论数:0

Java源码——对象序列化(对象的存储及读取)(Object Serialization)

代码如下: 1. 可序列化的实体类(Account) // Fig. 15.9: Account.java // Serializable Account class for storing records as objects. package ch15; import java.io.Seri...

2017-05-01 22:54:26

阅读数:867

评论数:0

Java源码——一个简单的余额查询应用(Credit Inquiry Program)

代码如下: 1. 枚举类MenuOption // Fig. 15.7: MenuOption.java // enum type for the credit-inquiry program's options. package ch15; public enum MenuOption { ...

2017-05-01 00:21:29

阅读数:333

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭