Behavior

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.

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

Level: Novice · More OOP terms at this level

Updated