Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Video extends Item {
- //...
- @Override
- public String getDescription() {
- String desc = this.getTitle() + " by " +
- this.director + "\n";
- desc += "Runtime: " + this.getPlayTime() + "\n";
- desc += "Owned? " + this.isOwned() + "\n";
- desc += "Comment: " + this.getComment() + "\n";
- return desc;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment