If a method should return an array to its calling method, ____________. a. The methods return type

Question:

If a method should return an array to its calling method, ____________.
a. The method’s return type must match its parameter type
b. The return type in the method header is preceded by an ampersand
c. The return type in the method header is followed by square brackets
d. A Java method cannot return an array.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: