Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的程序中附加目标文件时遇到了问题。我找到了这个答案。
但是,我不知道如何继承一个AppendableObjectOutputStream. 谁能更详细地教我怎么做?
AppendableObjectOutputStream
class YourClass extends AppendableObjectOutputStream { // any constructors required, if no default for Appendable public AppendableObjectOutputStream(<your args here>) { super(<other args here>); } // any methods you want to @Override here }