Question: What is a method?

  1. a set of instructions designed to perform a frequently used operation within a program and return no values
  2. the exact same thing as a function and subroutine
  3. a set of variables that can change over time
  4. a procedure associated with data and behaviour

Answer: The correct answer of the above question is Option B:the exact same thing as a function and subroutine