public class father
{ }
public class son : father  //son繼承了father的屬性及方法,但並不包含private的屬性及方法
{ }

arrow
arrow
    全站熱搜

    羅 朝淇 發表在 痞客邦 留言(0) 人氣()