Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use interface and implement it into Apps and Folder class. Problem 2: Organizing Apps A smart phone model allows users to organize their apps
please use interface and implement it into Apps and Folder class.
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: ;; An Appset is one of: ; - Folder i; - Apps ;; A Folder is a (make-folder string) (define-struct folder [title]) Apps 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 organized. - 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 sers: -a "Travel" set with "Uber" and "nTicket" and "Moovit" and "Orbitz" -a "Food" set with "Grubhub" and "B. Good" and "Gang 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 Exapplessets. What to submit You should submit your data definitions and examples in a fite named Appsets . java Remember to check the feedback in handins for Style and Checker Tests in handinsStep 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