What is Object-oriented programming?

An approach that builds programs from objects, each bundling data with the procedures (methods) that operate on it. The blueprint for objects is called a class, each object created from a class is called an instance, and each instance has its own values of the member variables.

Japanese name: オブジェクト指向

Object-oriented programming appears in 1 practice question across 1 topic, including Programming Basics (Pseudocode Tracing).

Field: Programming Basics (Pseudocode Tracing)

Object-oriented programming in the explanations

Questions that mention Object-oriented programming (1)

  1. Class Counter gives each instance its own integer member variable count (0 when created), and its method inc() adds 1 to its own count. What is the value of x after the following program runs?

Books on Programming Basics (Pseudocode Tracing) Ad

As an Amazon Associate I earn from qualifying purchases.

Related terms

Variable Argument Array Bitwise operation Control structure Integer division Modulo operation Off-by-one error Pseudocode Return value

Back to the glossary