promotion image of download ymail app
Anonymous asked in Computers & InternetProgramming & Design · 2 months ago

computer java programming?

A Data Structures Information System needs to be written in order to review Collections as found in the Java Collections Framework.

The main menu should consist of the following:

Sets - Create and work with a Set (no Duplicates)/Create and work with a Set (HashSet) 

Lists -Create and work with an ArrayList /Create and work with a LinkedList 

Stacks - Create and work with a Stack 

Queue - Create and work with a Queue 

Once the user makes a choice as to which data structure to create, the user should be prompted to enter the data into the data structure. Once this is completed, the user should be allowed to show all of the domain names and their corresponding IP addresses.

Additionally, the user should be allowed to perform at least four of the following operations on the collection: (choose the ones you want to incorporate into your program via predefined methods) add a domain name and its corresponding IP address, delete a domain name and its corresponding address, search for a specific domain name and, if it is found, it should then display its corresponding IP address, copy the data structures and then display both collections, sort the collection, count the number of entries in the collection, output the collection in reverse order, or any other operations you want to include.

In terms of the GUI (Graphical User Interface), you can use the JOptionPane and/or the Scanner Classes or create more advanced GUI's (using either Swing or JavaFx).

2 Answers

  • 2 months ago

    This is not a question, see community guidelines.

    • Commenter avatarLogin to reply the answers
  • Snezzy
    Lv 7
    2 months ago

    How much are you willing to pay for this sort of help? An ice cream cone would help, but it's not enough. Tremendously not enough.

    Write your code, put it up here, and if we feel sufficiently motivated, we might inspect it and make suggestions.

Still have questions? Get your answers by asking now.