Write a program that randomly stores 10 integer numbers (to start with) in a LinkedList object. Using this LinkedList object, implement stack and queue operations using GUI as follows: Add 2 Radio Buttons for choosing options (a) Stack and (b) Queue, and 4 JButtons (Push, Pop for Stack, and Add, Delete for Queue).
Comments
Leave a comment