Question: Using the following UML class and sequence diagrams, write a program that stores people's names. The program should present the user with a menu: (A)dd

Using the following UML class and sequence diagrams, write a program that stores people's names. The program should present the user with a menu: (A)dd Name (P)rint Names (Q)uit

If the user selects A or a, then they are prompted to enter a name that will get stored in a text file. If the user selects P or p, then the program displays all the names stored in the text file. The program continues until the user select Q or q.

Need to use dialog boxes and the package name is "List".(need to write 3 separate classes.)

UML:

Using the following UML class and sequence diagrams, write a program that

stores people's names. The program should present the user with a menu:

Sample:

(A)dd Name (P)rint Names (Q)uit If the user selects A or a,

Delegate Model List +Delegate(m: Model) +addName:void +printNames(): void +addName(s: String)minrgs: String[onl 1print: String Delegate Model List addName( Delegate Model addName(name) List Delegate Model printNames()I print --___output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!