Multiple choice

A ………….is a software unit that combines a structured set of data with a set of operations for inspecting and manipulating that data.

  1. class

  2. object

  3. method

  4. signature

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

An object is an instance of a class that encapsulates both data (fields) and the methods (operations) that act on that data.