Skip to content

Accessibility

Modifier Meaning
public Always accessible.
none Only accessible within same library.
file Only accessible within same file.
protected Only accessible within same type, and to the ascendants.
private Only accessible within same type.