java接口不能实例化原因

本文章来自我的博客:http://iclyj.cn/blog/articles/110.html view plain copy class MyThread implements Runnable{       ............//此处省略   }   //另一个类的main方法中:   Runnable r = new MyThread();   这个其实很明显,是父类声明指向子类的引
相关文章
相关标签/搜索