clears stack but does n't affect long persistence stack . concode_field_sep Stack<String> myStack concode_elem_sep Stack<String> myPersistentStack concode_field_sep String pop concode_elem_sep int getSize concode_elem_sep String peekPersistent concode_elem_sep boolean isEmpty concode_elem_sep String[] getPersistentStack concode_elem_sep String[] getStack concode_elem_sep int getPersistentSize concode_elem_sep void push concode_elem_sep void remove concode_elem_sep String peek concode_elem_sep String peek
void function ( ) { myStack . clear ( ) ; }