# Public

An access level that lets any code use the member.

## What is **Public**?

`public` is an access level that lets any code use a member. Public methods are the "buttons" an object offers to the outside world.

```csharp
public class Oven
{
    public void Preheat(int degrees) { /* anyone can call this */ }
}
```

Level: Apprentice · [More OOP terms at this level](https://www.ask-codey.com/glossary/subjects/oop/apprentice)

Updated: September 27, 2026

## In other subjects

- [public in C#](https://www.ask-codey.com/glossary/public-c-sharp)
- [public in Java](https://www.ask-codey.com/glossary/public)

Source: https://www.ask-codey.com/glossary/public-oop
