exercises for source code and help with exercisesplease visit java datastructures net reinforcement - suppose an initially empty stack has performed total of push operations top operationsand pop operations of which generated stackemptyexceptionswhich were caught and ignored what is the current size of sr- if we implemented the stack from the previous problem with an arrayas described in this then what is the current value of the top instance variabler- describe the output of the following series of stack operationspush( )push( )pop()push( )push( )pop()pop()push( )push( )pop()push( )push( )pop()pop()push( )pop()pop( - give recursive method for removing all the elements in stack - give precise and complete definition of the concept of matching for grouping symbols in an arithmetic expression - describe the output for the following sequence of queue operationsenqueue( )enqueue( )dequeue()enqueue( )enqueue( )dequeue()dequeue()enqueue( )enqueue( )dequeue()enqueue( )enqueue( )dequeue()dequeue()enqueue( )dequeue()dequeue( -