Question 22 One Following Statements True Using Arrays Methods Method Accept Arguments Ele Q13785333

Question 22 Which one of the following statements is true aboutusing arrays with methods?

A method can only accept arguments that are elements of anarray, but not the whole array.

Arrays can be method arguments, and return values, just like anyother values.

If a method is defined to have an array as a method argument, itmust also define the size of the array as another methodargument.

A method may accept an argument that is an array, but it cannotreturn a result that is an array.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *