Question: ( java ) Requirements Abstract Base class - Podcast that has an abstract method showDetails Subclasses ( 3 ) - Education, Interview, Story. These classes
javaRequirements
Abstract Base class Podcast that has an abstract method showDetails
Subclasses Education, Interview, Story. These classes inherit from Podcast and use the ILibrary
interface.
ILibrary interface contains function showDetails and is implemented by the derived classes and the
PodCastComposite Composite Design Pattern
PodCastComposite contains a private ArrayList to hold the podcast library. When a podcast is added to
the ArrayList, a message will be displayed to the user that the podcast has been added see output
below
Driver add one of each of the podcast types and display the contents of the podcast library
EXTRA CREDIT EXAM POINTS Add the IPlay interface that will start and stop each podcast. Hint: you can use multiple interfaces in a class by separating each with a comma.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
