Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( java ) Requirements Abstract Base class - Podcast that has an abstract method showDetails Subclasses ( 3 ) - Education, Interview, Story. These classes

(java)Requirements
Abstract Base class - Podcast that has an abstract method showDetails
Subclasses (3)- 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 +25 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.
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

e. What do you know about your ethnic background?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago