What are the differences between C# and Java access modifiers?
The default accessibility of a Java member if no access modifier is specified is protected except that subclasses in other packages cannot inherit the member. The default accessibility of a C# member if no access modifier is specified is private. The following table shows how the C# access modifiers correspond to those of the Java language.