Multiple choice .net

Methods are used to represent:

  1. actions.

  2. classes.

  3. data.

  4. events.

  5. instances.

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

Methods represent actions or behaviors that an object can perform - they define the operations or functionality of the object. Classes are blueprints for objects, data is represented by properties/fields, events are external triggers, and instances are individual objects. The key distinction is that methods are active behaviors, not passive definitions.

AI explanation

Methods are the functions defined on a class/object that perform operations or behaviors — i.e., actions the object can carry out. Data is instead held in properties/fields, and classes are the blueprints that define both methods and properties, not the actions themselves.