![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
文章平均质量分 78
笨驴Run
这个作者很懒,什么都没留下…
展开
-
Javo IO专题
Java IO 专题 一、编码问题从联通.txt和联.txt显示不正常,进而找到编码问题。0xff 就是16进制数,前面全是0,后8位全为1。import java.io.UnsupportedEncodingException;public class EncodeDemo { public static void main(String[] args) throws U原创 2016-12-22 15:01:23 · 1643 阅读 · 0 评论 -
Java出现No enclosing instance of type FilenameFileterTest is accessible.编译错误
No enclosing instance of type FilenameFileterTest is accessible. Must qualify the allocation with an enclosing instance of type FilenameFileterTest (e.g. x.new A() where x is an instance of FilenameFi原创 2016-12-20 11:16:09 · 565 阅读 · 0 评论 -
Java中为什么有的方法必须抛出异常,有的不用
在写一个代码时候,出现Unhandled exception type IOException的编译错误,即未处理的异常类型IOException,于是上网搜索,是因为没有没有抛出异常所致。首先,Java异常有Runtime(运行时异常)和Checked(编译时异常),其中,所有RuntimeException类及其子类的实例被称为Runtime异常,不是RuntimeException类及其原创 2016-12-20 23:22:21 · 19684 阅读 · 0 评论