This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** PROGRAM ASSIGNMENT 5 Documentary.java | |
| * | |
| * Program Description | |
| * This is the Documentary class, a subclass of the Movie class. | |
| * | |
| */ | |
| package library.films; | |
| public class Documentary extends Movie { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** PROGRAM ASSIGNMENT 5 Drama.java | |
| * | |
| * Program Description | |
| * This is the Drama class, a subclass of the Movie class. | |
| * | |
| */ | |
| package library.films; | |
| public class Drama extends Movie { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** PROGRAM ASSIGNMENT 5 Profitable.java | |
| * | |
| * Program Description | |
| * This is the Profitable interface, to be implemented in the Movie class | |
| * and inherited by its subclasses. | |
| * | |
| */ | |
| package library.films; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** PROGRAM ASSIGNMENT 5 Movie.java | |
| * | |
| * Program Description | |
| * This is the Movie class, which includes instance variables and instance | |
| * methods that describe the Movie abstract data type. | |
| * | |
| */ | |
| package library.films; |
NewerOlder