which of the following statements is true?\n○ all of these.\n○ performing a task in a program requires a…

which of the following statements is true?\n○ all of these.\n○ performing a task in a program requires a method.\n○ a method houses the program statements that actually perform its tasks.\n○ the method hides its statements from its user, just as the accelerator pedal of a car hides from the driver the mechanisms of making the car go faster.

which of the following statements is true?\n○ all of these.\n○ performing a task in a program requires a method.\n○ a method houses the program statements that actually perform its tasks.\n○ the method hides its statements from its user, just as the accelerator pedal of a car hides from the driver the mechanisms of making the car go faster.

Answer

Brief Explanations:

In programming, to perform a task a method is required. A method contains the program statements that execute the task. Also, methods often hide their internal statements from the user (encapsulation concept), similar to how a car's accelerator pedal hides the internal speed - increasing mechanisms from the driver.

Answer:

A. All of these