Question: How to declare a two dimensional (2D) array, and each element of this 2D array is an 1D array with only 2 elements in java

How to declare a two dimensional (2D) array, and each element of this 2D array is an 1D array with only 2 elements in java like the one in figure. i also need to access the elements for example a need e method to return 90 or 80?
50,50 80, 20 90, 10 20,80||
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
