Question: Write a Java program to build an online streaming platform. It should have different kinds of contents such as TV shows,movies,audible books. These contents can
Write a Java program to build an online streaming platform.
It should have different kinds of contents such as TV shows,movies,audible books. These contents can be categorised into different types: sci-fi, action,comedy. A person can subscribe to this platform and watch the contents.
class content
{
String name;
int lenght; //in seconds
String Production_company;
}
Implements different subclass of contents such as Movies,TV shows, Audio books:
Class movie will have cast like actors,actresses,director,producer...Type of movie and rating
TV show can have different seasons and seasons can have different casts, type and rating.
Audio book can have narrators name, authors name, type and rating.
class Online_streaming_platform
{
//array to store content
//array to store customer //method to search content and customer (raise exception of content or customer not found)
//method to add and delete content and customers (raise exception of content or customer is already present while adding or not present while deleting)
//method to edit content and customer details (some fields are not editable so if user tries to edit those fields, raise exception)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
