Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

image text in transcribed

Sample:

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago