Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 Classes and objects (30 Points) You will create 3 new classes for this
Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 Classes and objects (30 Points) You will create 3 new classes for this project, two will be chosen from the list below and one will be an entirely new class you invent. Here is the list: FootBall Shirt Shoe Boat Wine Computer Book Website Song Movie Beer Bicycle VideoGame Pants Plant TVShow Car Motorcycle Design First (5 points) Create three (3) UML diagrams for three classes. Two of the classes are assigned by the instructor from the above list and one you must invent Choose as the third class, something you know very well or love doing. If soccer is your favorite sport, create a class Soccer. If you sing opera create a class Opera. Do not overthink. Just come up with the 3 most important data members (i global variables) that describe the class object you want to build and the design 2 constructors, 3 get methods, 3 set methods and a toString method and you are done. Please do not use the same 3 data types for any classes global variables That is, do not make them a int or all String Next to each UML diagram decide on a default value, minimum value and a maximum value for EACH numeric variable. For example, the Shoe class and its size variable may have a default value of 0; the minimum size may be 1 and the maximum size 15. A String variable may set a default value of null, and a minimum and maximum length of the String. For example, the Computer class and its brand variable may have a default value of null, a minimum string length of 3 and the maximum length 20. Please do not use
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