Answered step by step
Verified Expert Solution
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
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
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