java double int stack in one array challenge

My co-intern challenged me to implement an int array in java that
contained 2 stacks, this is what I made