随笔分类 - java学习笔记
摘要:对代理的理解//实例化一个类,这个类实现InvocationHandler 接口InvocationHandler handler = new TraceHandler(value);//实例化一个对象,这个对象实现了指定的接口,这个对象和上面的类实例建立了关系Object proxy = Prox...
阅读全文
摘要:啥是多态:Person 是superclass,Man是Subclass可以这么用:Person aPerson = new Man();
阅读全文
摘要:java数组英文:Arrays存储相同数值的集合的数据结构An array is a data structure that stores a collection of values of the same type. You accesseach individual value through...
阅读全文

浙公网安备 33010602011771号