Object-oriented programming (OOP) is a programming style that organizes code around "objects" combining data and behavior together, rather than as a sequence of separate functions acting on separate data.
In OOP, you model real-world or conceptual things as objects — each with properties (data) and methods (functions that act on that data). A "Car" object, for example, might have properties like color and speed, and methods like accelerate() or brake().
Languages like Java, C++, Python, and C# all support OOP, though some languages favor other paradigms, like functional programming, instead.
Last reviewed: September 2026