Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java version 11 just the code part please Problem 2: Organizing Apps A smart phone model allows users to organize their apps in sets related

Java version 11 just the code part please

image text in transcribed

Problem 2: Organizing Apps A smart phone model allows users to organize their apps in sets related to the apps' purposes. Here is a data definition to represent an app set in DrRacket: i: An Appset is one of: in. Folder ii - Apps i: A Foldet is a (make-folder string) (define-struct folder [title]) i. Appas is a (make-apps string Appset) (define-struct apps [app-name others]) - Draw the class diagram that represents this data definition. You may draw this as ASCll-art and include it in your submission, if you wish. Or you can just draw it on paper and not submit it. Regardless, we think it will help you in visualizing how the data is arganized. - Convert this data definition into Java. Make sure you use the same names for data types and for the fields, as are used in the DrRacket data definitions, converted into Java style conventions. Make sure that the constructor arguments are given in the same order as shown. - Include in your examples the following sets: -a "Travel" set with "Uber" and "mTicket and "Moovit" and "orbitz" -a "Food" sec with "Grubhub" and "B. Good" and "Gong Cha" Make sure the two sample sets given above are named travelapps and foodApps. Note: the descriptions above are listed in the order that you would add the apps to a folder in real life. Think carefully how this should be represented as data. Name the class that holds the examples of your group data Examplessets. What to submit You should submit your data definitions and examples in a file named AppSets, java Romember to check the feedback in handins for Style and Checker Tests in handins

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

A 300N F 30% d 2 m Answered: 1 week ago

Answered: 1 week ago