PrintWriter中append和writer的区别

在调用上没有什么区别

唯一区别是,append方法中的参数可以为null,而writer中的参数不能为null

你可能感兴趣的:(PrintWriter,append,writer)