Java | .Net | |
Class (外部类) | public | public |
package-private(default) | assembly-private(default) | |
Method | public | public |
protected | protected internal | |
default | internal | |
private | private(default) |
Java | .Net | |
Class (外部类) | public | public |
package-private(default) | assembly-private(default) | |
Method | public | public |
protected | protected internal | |
default | internal | |
private | private(default) |