carrkatlyn6567 carrkatlyn6567
  • 17-11-2020
  • Computers and Technology
contestada

g A function called processArray takes one argument: an array of strings to be processed. It returns nothing. Write the function header for the processArray function

Respuesta :

codiepienagoya codiepienagoya
  • 18-11-2020

Answer:

Following are the declaration of the method:

void processArray(String x[])//defining a method processArray that holds a string parameter

{

//method body

}

Explanation:

In the above-given code, a method "processArray" is declared, that holds a variable x, which is as a string of array implies it is an array of string.

In the method declaration, we use method return type is void because a method doesn't return any value, and the "void" can't return any value.

Answer Link

Otras preguntas

Sheila buys two concert tickets from her friend. She pays $90 for the two tickets. She looks at the tickets and sees that each ticket has a face value of $52.50
Scientists are experimenting with a kind of gun that may eventually be used to fire payloads directly into orbit. In one test, this gun accelerates a 5.6-kg pro
please help!!! thanks!!!
Which are examples of a phase change? (Select all that apply.) evaporating water cutting wood frying eggs melting butter
Which table shows a proportional realationship between x and y look at pic
what is "my daughter and I are going to the farm" in Spanish?
Solve for x. 1. (3x)º (8x)º 37°
I need help with dis plz
What is the Slope of the equation x = -4A -4 B Undefined C 0 D 1​
Find the equation of the line passing through the points 7,2 and 9,1