document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. public class dvd extends item
  2. {
  3. private String director;
  4. public dvd(String title, int playingtime, String director)
  5. {
  6. super(title,playingtime);
  7. this.director=director;
  8. }
  9. public void setComment(String comment)
  10. {
  11. super.setComment(comment);
  12. }
  13. public void setGotit(boolean gotit)
  14. {
  15. super.setGotit(gotit);
  16. }
  17. public String getDirector()
  18. {
  19. return director;
  20. }
  21. public void print()
  22. {
  23. System.out.println("Director: " + director);
  24. }
  25. }
');