i am working on Deque class which is wrapped arond array....jus like the circular array works.
How can i prompt the user to decide the size???

JOptionPane?

JOption Pane goes in app class right?
if i declare an array in Deque class how can i ask user to enter the size and pass it to array?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.