Explain Array Based Stack Implementation In Java