# Behavior

*noun*

say it: **“bih-HAYV-yer”** **/bɪˈheɪvjər/**

What an object can do: the methods it offers.

## What is **Behavior**?

An object's **behavior** is what it can do: the set of methods it offers. A `Microwave` object's behavior might include `Start`, `Stop` and `AddTime`.

```csharp
microwave.AddTime(30);
microwave.Start();
microwave.Stop();
```

## In a sentence

- “A shopping cart's **behavior** includes adding an item and working out the total.”

Level: Novice · [More OOP terms at this level](https://www.ask-codey.com/glossary?category=oop&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/behavior
