Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a java code Write a JAVA program to build an appropriate implementation for the UML diagram below, which models a platform for watching different

image text in transcribed

write a java code

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 - userName: String password: String Platform - accounts: ArrayList - shows: ArrayList + Account + Platform + signUpo: void + login():Account + searchShows(): void + displayTop100): void > Ratable + MAX: int=10 + update Rate(): void > java.lang.Comparable Show # name: String #times Watched: int #description: String # rate: double +Show(name: String, description: String) + updateRate(): void + toString(): 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, episode Duration: int) + toString():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

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions

Question

3 How supply and demand together determine market equilibrium.

Answered: 1 week ago