Multiple choice technology programming languages

Which statement is true about a method?

  1. A method is an implementation of an abstraction

  2. A method is an attribute defining the property of a particular abstraction

  3. A method is an operation defining the behavior for a particular abstraction

  4. A method is a blueprint for making operations

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

In object-oriented programming, a method is an operation that defines the behavior for a particular abstraction. It encapsulates the actions or behaviors that objects of a class can perform. Option A is incorrect because methods define behavior, not implementation of abstraction. Option B is incorrect because attributes (not methods) define properties.