printArray is a method that accepts one argument, an array of int s. The method prints the contents of the array; it does not return a value. inventory is an array of int s that has been already declared and filled with values. Write a statement that prints the contents of the array inventory by calling the method printArray.

LANGUAGE: JAVA

CHALLENGE:

printArray is a method that accepts one argument, an array of int s. The method prints the contents of the array; it does not return a value.

inventory is an array of int s that has been already declared and filled with values.

Write a statement that prints the contents of the array inventory by calling the method printArray.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,