Ask Question

Describe how you can use multiple arguments in a method.

+4
Answers (1)
  1. 11 July, 10:37
    0
    name (argument_1, argument_2, argument_3, ...);

    Explanation:

    The function is a block of the statement which performs the special task.

    Syntax for calling the function:

    name (argument_1, argument_2, argument_3, ...);

    we write the name of the function and passed the arguments.

    we can pass any number of arguments with separator ',' in the function calling.

    for example:

    1. print (name, value, count, a, b);

    2. print (name, value);

    Here, name, value, count, a and b are the arguments of the function.

    if we does not pass any argument, the function still valid in the programming.

    we can pass from Null to any number of argument.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Describe how you can use multiple arguments in a method. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers