Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
Sample:
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started