Respuesta :

Answer:

Option B(false) is the correct answer for the above question.

Explanation:

  • A method or function is a part of the program which is designed to perform some task. To use the function a user needs to declare the body of the function which is the collection of the task.
  • Some of the functions can take value from the other function which is called the argument of the function.
  • When the user declares the function body they need to define the variable type of all variable (either it is the same type or a different type) which is used to store the value of the argument.
  • But the question statement states that if the argument variable is different type then only it needs to declare the type of the variable, which is not correct because it is defined as above. Hence False is the correct answer which is stated from option B.
ACCESS MORE
EDU ACCESS
Universidad de Mexico