Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using java *Write a JAVA program to build an appropriate implementation for the UML diagram below, which models a platform for watching different types of

image text in transcribedusing java

*Write a JAVA program to build an appropriate implementation for the UML diagram below, which models a platform for watching different types of shows. Account Platform - userName: String accounts: ArrayListAccount> -password: String -shows: ArrayList> Ratable + MAX: int=10 + updateRate(): void > java.lang.Comparable Show # name: String #times Watched: int #description: String # rate: double - Show(name: String, description: String) - updateRate : void - toStringO: String + equals(o:Object): boolean + compareTo(s:Show): int + getDuration(): int + compareTo(s:Show): int Movie - duration: int - production Year:int - Movie(name: String, description: String, duration: int, production Year:int) + toString(): String - equals(o:Object): boolean - getDuration: int Series - numOfEpisodes: int - episode Duration: int - Series(name: String, description: String, numOfEpisodes:int, episodeDuration: int) + toStringo-String - getDuration(): int

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

What Is A Database And How Do I Use It

Authors: Matt Anniss

1st Edition

1622750799, 978-1622750795

More Books

Students also viewed these Databases questions

Question

14-18 Compare the two major types of planning and control tools.

Answered: 1 week ago