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

Calculate the total loss after 4 years if 299000 is reduced by 4% per annum
Please help, thank you
How would you describe the following events, of randomly rolling 2 dice and having a sum that is EVEN OR GREATER THAN 9?
) Write 2350 million in standard form.
Which occurred when James Meredith applied to the University of Mississippi? He was admitted to the university. He was blocked from enrolling. He led protests t
For this activity, I'd like you to imagine that you are the advice columnist for a Chinese newspaper in the 4th century BCE. Pick one scenario below and write a
Help mee pleasee!! thank you <3
27. Sample of gas is electrically charged so that it glows red. The red color is emitted when
Please answer all 3 questions in the photo for easy point! ( 30 points + Brainliest )
Radioactive decay problem (calculus)