# Package-Private Access

The default access that limits a type or member to its package.

## What is **Package-Private Access** in Java?

**Package-Private Access** — The default access that limits a type or member to its package.

```java
class Account {
    private int balance = 20;

    public int balance() {
        return balance;
    }
}
```

Level: Journeyman · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/package-private-access
