首页 新闻 赞助 找找看
1
回答数

回答被采纳 对象设计问题

B类继承A类,C能创建B的对象,但是我不想C创建A对象,我该怎么设计? A.dll public class A{} B.dll pubic class B:A{} C.dll public clas