MCQOPTIONS
Saved Bookmarks
| 1. |
What is the functionality of the following piece of Java code?Assume: a is a non empty array of integers, the Stack class creates an array of specified size and provides a top pointer indicating TOS(top of stack), push and pop have normal meaning. |
| A. | Print alternate elements of array |
| B. | Duplicate the given array |
| C. | Parentheses matching |
| D. | Reverse the array |
| Answer» E. | |