hi everyone,
i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem:
you have to write a program in java to generate the following menu with submenus:
LinkedList
1: ADD ELEMENT
1-1: add first
1-2: add last
1-3: back to main menu
2: REMOVE ELEMENT
2-1: remove first
2-2: remove in between
2-3: remove last
2-4: back to main menu
3: OTHER FUNCTIONS
3-1: peek first
3-2: peek last
3-3: poll first
3-4: poll last
3-5: back to main
4: DISPLAY
5. EXIT
thank you,
regards,
al_buotan