Java-C#-访问修饰符

Java C#
public public
× protected(所有子类)
protected internal protected
× private protected(同程序集内的子类)
default internal
private private(default)
posted @ 2020-10-28 10:27  自笑非  阅读(71)  评论(0编辑  收藏  举报