Assume you are given an int variable named nElements and a 2-dimensional array that has been created and assigned to a2d. Write one or more statements that assign to nElements the total number of elements that could be stored in the entire 2-dimensional array.

Java

LANGUAGE: JAVA CHALLENGE: Assume you are given an int variable named nElements and a 2-dimensional array that has been created and assigned to a2d. Write one or more statements that assign to nElements the total number of elements that could be stored in the entire 2-dimensional array.

Read More