9

public class SIM { long num; SIM(long num){ this.num=num; } long getNum(){ return num; } } public class Phone { SIM sim; void setSIM(SIM card) { sim=card; } long lookNum() { return sim.getNum(); } } p
相關文章
相關標籤/搜索