摘要:
package com.temp;import java.util.ArrayList;public class PolymorphismTest{ /** * @param args */ public static void main(String[] args) { ArrayList<Human> persons = new ArrayList<Human>(); persons.add(new Male()); persons.add(new Female()); ... 阅读全文
posted @ 2013-02-10 22:36
wouldguan
阅读(364)
评论(0)
推荐(0)
浙公网安备 33010602011771号