Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

write 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 + Account + Platform + signUp(): void + login():Account + searchShows(): void + displayTop100): void > Ratable + MAX: inte10 + updateRate(): 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 + compare To(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 episodeDuration: int + Series(name: String, description: String, numOfEpisodes:int, episodeDuration: 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

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

Discuss HR scorecard in detail.

Answered: 1 week ago