Question: Java according to the problem statement what is wrong with the following 2 designs. Make a valid design in UML. A local group of old

Java according to the problem statement what is wrong with the following 2 designs. Make a valid design in UML.

Java according to the problem statement what is wrong with the following2 designs. Make a valid design in UML. A local group ofold movie and game enthusiasts have started a video and game rental

A local group of old movie and game enthusiasts have started a video and game rental store named Blockluster that rents old movies in the form of VHS tapes and old games in the form of NES and SNES cartridges. They are convinced this will take off in a big way and are asking for a program to be written for them. The program should simply track all movies, games and customers. For customers, they wish to track their name (assumed unique for each customer), age and date they joined. For movies, they want to have the name, description and rating (as in R, PG-13, etc.). All movie rentals are \$3.00 so no need to track pricing for movies. For games, they want a name, type (NES or SNES) and cost, since different games cost different amounts. Blockluster would like to be able to: - track when a customer rents a movie - print reports showing all the movies and games a customer has rented - for each movie and game, they would like to print a report on all the customers who have rented that movie or game Please select all (or at least the worst) of the OO Design Principles violated by this design: 1a - Must be able to store required information ib - Must be able to access the required information 1c - Data should not be duplicated 2a - Nouns should become classes 2b - Classes should have intelligent behaviors (methods) that may operate on their data In the following blank, please explain why or how the principle (or principles) that you chose is/are violated (i.e., what is wrong with Solution A?). Enter your answer here Please select all (or at least the worst) of the OO Design Principles violated by this design: 1a - Must be able to store required information 1b - Must be able to access the required information 1c - Data should not be duplicated 2a - Nouns should become classes 2b - Classes should have intelligent behaviors (methods) that may operate on their data In the following blank, please explain why or how the principle (or principles) that you chose is/are violated (i.e., what is wrong with Solution B ?). A local group of old movie and game enthusiasts have started a video and game rental store named Blockluster that rents old movies in the form of VHS tapes and old games in the form of NES and SNES cartridges. They are convinced this will take off in a big way and are asking for a program to be written for them. The program should simply track all movies, games and customers. For customers, they wish to track their name (assumed unique for each customer), age and date they joined. For movies, they want to have the name, description and rating (as in R, PG-13, etc.). All movie rentals are \$3.00 so no need to track pricing for movies. For games, they want a name, type (NES or SNES) and cost, since different games cost different amounts. Blockluster would like to be able to: - track when a customer rents a movie - print reports showing all the movies and games a customer has rented - for each movie and game, they would like to print a report on all the customers who have rented that movie or game Please select all (or at least the worst) of the OO Design Principles violated by this design: 1a - Must be able to store required information ib - Must be able to access the required information 1c - Data should not be duplicated 2a - Nouns should become classes 2b - Classes should have intelligent behaviors (methods) that may operate on their data In the following blank, please explain why or how the principle (or principles) that you chose is/are violated (i.e., what is wrong with Solution A?). Enter your answer here Please select all (or at least the worst) of the OO Design Principles violated by this design: 1a - Must be able to store required information 1b - Must be able to access the required information 1c - Data should not be duplicated 2a - Nouns should become classes 2b - Classes should have intelligent behaviors (methods) that may operate on their data In the following blank, please explain why or how the principle (or principles) that you chose is/are violated (i.e., what is wrong with Solution B ?)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!