Question: HOW TO WRITE THE HEAP DYNAMIC LOCAL VARIABLES IN SUBPROGRAMMING using 2 heap dynamic which is the 2D array in java. Below is static and
HOW TO WRITE THE HEAP DYNAMIC LOCAL VARIABLES IN SUBPROGRAMMING using 2 heap dynamic which is the 2D array in java. Below is static and dynamic ((((((PROGRAM BY USING JAVA)))))) 

StaticMatrix.java 5X o 6 public class StaticMatrix { 7 8 public static void main(String args[1) staticMatrix(); StaticMatrix obj = new StaticMatrix(); obj.staticDynamicMatrix(O; 10 12 13 14 public void staticDynamicMatrix) 15 16 17 18 19 20 21 int d[][] = new int [100] [100]; int e[][] = new int [100] [100]; int frl1[1- Random randnew Random(); int sum 0; // Fill with random numbers for (int i - 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
