Here is a different approach. I want to make a 3 stacked array.
import java.util.*;
public class ArrayStack
{
private int SIZE =10;
private int MAXSIZE= 30;
Type: Posts; User: jocdrew21
Here is a different approach. I want to make a 3 stacked array.
import java.util.*;
public class ArrayStack
{
private int SIZE =10;
private int MAXSIZE= 30;
public class ThreeStackArray
{
static int row = 10;
static int col = 2;
int[][] stack = new int[row][col];
//place numbers into the first row of array
public void push(int num)
{