Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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

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

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions