JAVA EE
文章平均质量分 71
风雨V征程
从事JAVA开发
展开
-
多态传递
class Demo4_Animal { public static void main(String[] args) { //Cat c1 = new Cat(); //c1.eat(); method(new Cat()); method(new Dog()); //Animal a = n原创 2017-04-09 14:08:10 · 278 阅读 · 0 评论 -
Dom4JUtils工具类(查找对象,回写操作)
Dom4JUtils工具类(查找对象,回写操作) package study.utils;import java.io.FileNotFoundException; import java.io.FileOutputStream;import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.io原创 2017-04-09 23:07:43 · 2057 阅读 · 0 评论