Given below are two statements:
Statement A: In stack, PUSH operation may raise an exception called 'underflow'.
Statement B: In stack, a POP operation may raise an exception called 'overflow'.
In the light of the above statements, choose the most appropriate answer from the options given below:
1
Both Statement A and Statement B are correct
2
Statement A is correct but Statement B is incorrect
3
Both Statement A and Statement B are incorrect
4
Statement A is incorrect but Statement B is correct